Home:ALL Converter>How to show errors/warnings by hotkey in VSCode?

How to show errors/warnings by hotkey in VSCode?

Ask Time:2018-03-07T15:23:40         Author:Shoshin Nikita

Json Formatter

I have to show errors/warnings by mouse now. Is there any hotkey or special button? I could find nothing in "Keyboard Shortcuts". Example of error:

Author:Shoshin Nikita,eproduced under the CC 4.0 BY-SA copyright license with a link to the original source and this disclaimer.
Link to original article:https://stackoverflow.com/questions/49146283/how-to-show-errors-warnings-by-hotkey-in-vscode
RumTraubeNuss :

In case you are using VSCode in vim mode (VSCodeVim extension) move your cursor to the underlined code and type gh.\n\nSee https://github.com/VSCodeVim/Vim#-vscodevim-tricks",
2020-02-03T15:19:31
HaaLeo :

Pressing F8 will focus the next problem/error. Shift + F8 will focus the previous problem. Here you can find an overview of all shortcuts for windows.",
2018-03-07T08:47:05
Michał Lepczyński :

ctrl+k, n will show you the under carret error as inline text\n(the same way that F8 / shift + F8 does)\nrather than a hovering tooltip as ctrl+k, ctrl+i does.",
2022-12-02T00:27:16
protoEvangelion :

The corresponding cmd name in VS Keybindings is editor.action.showHover. On mac for me the key combo was: cmd+k cmd+i. I'm not sure what it is on windows but you can find out through your command palette by typing show hover. It will show you the current keybinding and you can execute it as well.\nIf you would like you can remap it like this:\n{\n "key": "ctrl+e",\n "command": "editor.action.showHover",\n "when": "editorTextFocus"\n}\n\nWith that, if your cursor is within an error/warning squiggly line, you can hit ctrl+e to show what you would normally see with hover.\nTo make the box disappear, hit escape.",
2018-12-30T05:16:38
yy