I use the keyboard shortcut CMD+K, CMD+I to show a hover tooltip in VS Code when it detects errors:
I used to press the escape key to close these hover elements, but that no longer works. They continue to appear even after pressing escape, navigating to a different part of the code, or even navigating to another file tab. Here's a Dart hover window showing over a JSON file:
The only solution I have found is to use my mouse to select the window with a tap, then press the escape key. As a Vim user (I use Vim, btw), I would prefer if I didn't have to use my mouse at all.
How can I restore the power of the escape key to close the hover error tooltip window in VS Code?
I use the keyboard shortcut CMD+K, CMD+I to show a hover tooltip in VS Code when it detects errors:
I used to press the escape key to close these hover elements, but that no longer works. They continue to appear even after pressing escape, navigating to a different part of the code, or even navigating to another file tab. Here's a Dart hover window showing over a JSON file:
The only solution I have found is to use my mouse to select the window with a tap, then press the escape key. As a Vim user (I use Vim, btw), I would prefer if I didn't have to use my mouse at all.
How can I restore the power of the escape key to close the hover error tooltip window in VS Code?
Share Improve this question edited Feb 17 at 15:26 Nate Perdomo asked Jan 17 at 16:50 Nate PerdomoNate Perdomo 13411 bronze badges1 Answer
Reset to default 3I had previously been annoyed by the hover element on my small MacBook screen and disabled it. Re-enabling the hover feature resolved the issue. I'll report the bug to VS Code since disabling the hover shouldn't affect the escape key/window focus.
To enable hover:
- Go to settings (CMD+, or Code->Settings...->Settings)
- Search for "hover: enabled"
- Ensure the option Editor > Hover: Enabled is selected
Link to GitHub issue
发布者:admin,转转请注明出处:http://www.yc00.com/questions/1745354060a4624011.html
评论列表(0条)