Skip to content

"Debug: Show Hover" does nothing when triggered from shortcut (but works with mouse) #169151

@jasonwilliams

Description

@jasonwilliams

Sometimes I leave the debugger running when editing code and making changes. The one thing which fails to work during this period is triggering hover from a keybinding (ctrl/cmd+k, ctrl/cmd + i). Whenever I trigger this over a red squiggly line nothing happens. I understand this is because the debugger overrides that keybinding when running but 90% of the time it's replaced with nothing.

Is it possible to fall back through to the normal hover action if im not on a line currently being inspected? This must be possible because mouse hover does exactly this.

This seems to be the UX with mouse hover:

  1. When a breakpoint has triggered I get the debug info on hover.
  2. When a breakpoint hasn't triggered the hover falls back to normal hover information

Triggering hover with keybindings:

  1. When a breakpoint has triggered I get the debug info on hover.
  2. When a breakpoint hasn't triggered nothing happens.

This issue is asking for the keyboard shortcut (ctrl/cmd+k, ctrl/cmd + i) to match up with the mouse hover.

Metadata

Metadata

Labels

debugDebug viewlet, configurations, breakpoints, adapter issuesfeature-requestRequest for new features or functionalityhelp wantedIssues identified as good community contribution opportunitiesinsiders-releasedPatch has been released in VS Code InsiderspolishCleanup and polish issueverification-neededVerification of issue is requestedverifiedVerification succeeded

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions