Escape key no longer closes VS Code hover windowtooltip - Stack Overflow

I use the keyboard shortcut CMD+K, CMD+I to show a hover tooltip in VS Code when it detects errors:I us

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 badges
Add a comment  | 

1 Answer 1

Reset to default 3

I 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:

  1. Go to settings (CMD+, or Code->Settings...->Settings)
  2. Search for "hover: enabled"
  3. Ensure the option Editor > Hover: Enabled is selected

Link to GitHub issue

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1745354060a4624011.html

相关推荐

  • Escape key no longer closes VS Code hover windowtooltip - Stack Overflow

    I use the keyboard shortcut CMD+K, CMD+I to show a hover tooltip in VS Code when it detects errors:I us

    2小时前
    10

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信