Pierre Le Bot
Pierre Le Bot

Reputation: 324

How to enable again the tooltip/hint in VSC?

My VSC shows the wavy underlines when something's wrong with my code, but does not display the hint overlay when I hover my mouse on it.

This happens whatever the language used (from CSS to Typescript) and whatever the type of irregularity (e.g. notice, warn, danger)

I'd say that's a setting I may have changed at some point, but can't find which one. Any idea?

More details:

Actual behavior (nothing happens):

Nothing shows up when hovering the wavy error

Expected behavior (from google images)

Expected

Upvotes: 5

Views: 11963

Answers (1)

I Stand With Israel
I Stand With Israel

Reputation: 2389

  1. Go to File > Preferences > Settings.
  2. Search for 'hover.enabled' (See below photo).
  3. Toggle it.
  4. If your editor still does not pick up the change, close all tabs, close all VSCode windows, and reopen it.
  5. If it's still not working, try uninstalling VSCode and reinstalling it (make sure you don't have setting sync on).

Also, this question has been answered in at least one other place (Disable tooltip hint in Visual Studio Code)

VSCode hover enabled toggle

Upvotes: 17

Related Questions