Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Remove Hover Tip Visual Studio Code [duplicate]

Small annoyance...

Does anyone know how to get rid of the tip that pops up on hover for CSS and JS? I couldn't find anything related in the settings file. See screenshot:

enter image description here

like image 343
Martavis P. Avatar asked Aug 31 '25 00:08

Martavis P.


2 Answers

I also struggled with this, and finally submitted an issue to the vscode repo.

Please try this:

  1. On the menu bar: File>Preferences>User Settings
  2. Add the following to your settings.json:

    "editor.hover.enabled": false
    
  3. Save your settings.json and your issue should be fixed.

Happy coding!

like image 132
Lee Warnock Avatar answered Sep 02 '25 14:09

Lee Warnock


From vscode docs Hover display options:

  • use editor.hover.enabled to toggle the editor hover
  • use editor.hover.delay to customize the time until the hover is shown
  • use editor.hover.sticky to change if the hover should remain visible when moving the mouse over it.

The editor.hover.sticky is particularly useful if you still like the popup but don't like the default behavior that blocks your cursor. But bear in mind it will make certain popups with which you need to interact (such as CSS color picker) useless.

like image 26
dwelle Avatar answered Sep 02 '25 14:09

dwelle