Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dismissing hover with escape does not work when "editor.hover.enabled": false #9468

Open
jbaum012 opened this issue Jan 30, 2025 · 0 comments

Comments

@jbaum012
Copy link

Describe the bug
Hover menus that are visible via gh command are not dismissed when editor.hover.enabled: false. I personally have this setting disabled so that my mouse does not trigger hover effects but the vscode gh command allows me to hover on demand. Ultimately, hitting gh again seems to "unfocus" the hover box and following that second gh, hitting escape will dismiss the hover.

To Reproduce
Steps to reproduce the behavior:

  1. In user settings, set editor.hover.enabled: false
  2. Go to any line of code (maybe a function) that has content visible on hover
  3. Use the gh command to view the hover content
  4. Hit escape
  5. Hover content does not go away.

Expected behavior
Hitting escape on hover dismisses the hover window/popover/box.

Screenshots
Image
Hitting escape does not dismiss the "any" box when editor.hover.enabled is false

Environment (please complete the following information):

  • Extension (VsCodeVim) version:
  • VSCode version: 1.96.2
  • OS: Mac
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant