5

I was wondering if anyone has had any luck disabling the HTML element tooltips in Visual Studio 2015. I find them to be a real annoyance, especially when dragging/ctrl+dragging text around (they get in the way most the time). Here's a screenshot the feature in action (updated):

enter image description here

I Googled and was only able to find the post where the feature was announced, but no mentions of how to disable it. I checked my Visual Studio preferences and have "Auto list members" and "Parameter information" disabled for the HTML text editor.

Any ideas or suggestions?

Update (10/16/2015): I think this issue may be related to the Web Essentials package. I disabled the package and was able to make the tooltip show up, however, I don't currently have a computer with a default Visual Studio 2015 install to test my theory on. I updated the screenshot to reflect the actual tooltip I'm getting (the original one was the screenshot included in the linked blog post).

enriquein
  • 1,048
  • 1
  • 12
  • 28
  • This annoys me as well... and I can confirm it is not Web Essentials.. any luck disabling this 'helpful' feature? – Rosdi Kasim Mar 03 '16 at 04:04
  • I had a very similar (useless and annoying) popup for HTML elements. The one I was seeing was caused by the Resharper extension. To disable, `Resharper > Options... > Environment > IntelliSense > Parameter Info` and uncheck "Automatically show parameter info in {x} milliseconds". – maxathousand Sep 28 '17 at 18:52

2 Answers2

1

Try this:

Go to: Tools > Options... > Text Editor > HTML > General

In the 'Statement completion' section you will see an 'Auto list members' checkbox, uncheck it.

enter image description here


However, I'm not sure if the feature above reffers to an in-design html editing or will only affect in specific html development environment (editing an html file for example), so I'll give an additional solution:

Go to: Tools > Options... > Environment > Keayboard

Here, find the command Edit.ToggleCompletionMode and assign the keyboard shortcut that you desire.

enter image description here

Then just use it when you wish to toggle the auto completion of members (including html members I supose).

Update

Sorry If I confussed what you want, because with the absence of auto completion it will remove existance of tooltips but I don't know if you need auto completion suggestions or not.

Anyways, for tooltips you could try doing the same procedure I explained in the images above but with the "Parameter Information" checkbox and/or the corresponding keyboard shortcut, Edit.ParameterInfo. Because seems that html element tooltips are treated as parameter info.

ElektroStudios
  • 19,105
  • 33
  • 200
  • 417
  • I'm pretty sure he's trying to disable the tooltips, not Intelisense. – heavyd Oct 13 '15 at 15:00
  • @heavyd thanks to point that. I updated my answer. I hope it could be helpful for the OP. – ElektroStudios Oct 13 '15 at 15:13
  • Thanks for trying to help. I had already de-selected both options. I was hoping for an addon or command to disable, but ToggleCompletionMode seems a bit hardcore. – enriquein Oct 13 '15 at 18:56
  • I thought about that at first, but since it has to do with a tool and not a programming topic per-se, I thought this was the place to ask the question. I'll flag it then. – enriquein Oct 15 '15 at 17:49
1

This was annoying the Hell out of me as well & I found that ElektroStudios' solution wasn't suitable in my case. I'm fairly sure that they are VS-native (definitely not Web-Essentials or ReSharper).

For VS2015 at least, the offending tool-tips are located within the file:

C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\Extensions\Microsoft\Web Tools\Schemas\1033\HTML\html.loc

Deleting the contents of this file has "disabled" the tool-tips for me, although I can't say whether this will be a permanent fix.

  • Several dozen updates later, the contents of this file doesn't seem to have been re-populated & I've not seen a return of the dreaded tooltips. – N00b-a-Tron 9000 Aug 22 '16 at 10:21
  • 1
    For VS2017 The location has changed to: `C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\Extensions\Microsoft\Web Tools\Editors\Schemas\HTML\1033\html.loc` (of course if you are using Community or Professional Edition change that path accordingly). – Rosdi Kasim May 31 '17 at 16:02
  • For VS2019 The location has changed to: `C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\Common7\IDE\Extensions\Microsoft\Web Tools\Languages\Schemas\HTML\1033\html.loc` (of course if you are using Community or Professional Edition change that path accordingly). – Rosdi Kasim Oct 15 '20 at 14:39