Home > Net >  vscode see error messages without hovering
vscode see error messages without hovering

Time:11-30

In vscode, I have a python linter setup which helps me identify if there are any errors in my code, by underlining the error prone section with red swiggly lines. I can see the error message, if I hover over that section. Is there a keyboard shortcut which can show the error message, without actually requiring me to hover.

Attaching a screenshot for reference.

enter image description here

CodePudding user response:

The command is called "Show Hover" (editor.action.showHover).

By default is bound to CtrlK CtrlI. (Last character here is upper case letter "i", if even code renders illegible sans-serif.)

(Or you can find it in and invoke it from the Command Palette.)


I too wasn't able to find it at first, because "hover" was not therm I'd search for. 'Mouse', 'cursor', 'tooltip', 'hint', 'info', 'bubble' or 'popup' were.

  • Related