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

Hover Messages are not shown when debugging #102939

Closed
hediet opened this issue Jul 20, 2020 · 7 comments
Closed

Hover Messages are not shown when debugging #102939

hediet opened this issue Jul 20, 2020 · 7 comments
Assignees
Labels
debug Debug viewlet, configurations, breakpoints, adapter issues *duplicate Issue identified as a duplicate of another issue(s) feature-request Request for new features or functionality

Comments

@hediet
Copy link
Member

hediet commented Jul 20, 2020

  • VSCode Version: 1.46
  • OS Version: Win 10

Steps to Reproduce:

  1. Launch VS Code & Install Git Lens
  2. Hover over a git blame decoration (details are shown in a hover message)
  3. Start Debugging
  4. Hover over a git blame decoration (no hover message is shown)

Expected Behaviour

a) Either hover messages are shown even when debugging
b) Or the docs of hover messages read that hover messages aren't shown when debugging

In the case this issue is resolved to b), a) would be a feature request.

Background

This is related to #47466.

The docs say this about hoverMessage:
image
(A message that should be rendered when hovering over the decoration.)

I want to implement a hover message in a custom extension that enriches the debugging experience.
The decoration with the hover message is only set by my extension when the VS Code instance is debugging.

Since (as reported with this issue) VS Code does not show any hover messages when debugging, the observed behaviour was that hover messages don't work at all. It took me some time to realize that they do work, but not when in debug mode. This behaviour is not documented anywhere.

@weinand
Copy link
Contributor

weinand commented Jul 20, 2020

When debugging, the debugger's hover messages take precedence.
VS Code does not merge debugger hovers with other hovers.

@weinand weinand assigned isidorn and unassigned joaomoreno and weinand Jul 20, 2020
@weinand weinand added debug Debug viewlet, configurations, breakpoints, adapter issues feature-request Request for new features or functionality labels Jul 20, 2020
@hediet
Copy link
Member Author

hediet commented Jul 20, 2020

Please update the docs at least if this issue does not get that many upvotes!

I wasted at least an hour with implementing stuff that does not make sense anymore since there is no way to call it. A link in a hover messages would have been my approach to trigger a heavily parametrized command.

@hediet
Copy link
Member Author

hediet commented Jul 23, 2020

Btw. this issue makes it very hard to understand errors squiggles while debugging, as no error message is shown when you hover over it:

image

@weinand
Copy link
Contributor

weinand commented Sep 9, 2020

/duplicate #84561

@github-actions github-actions bot locked and limited conversation to collaborators Oct 24, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
debug Debug viewlet, configurations, breakpoints, adapter issues *duplicate Issue identified as a duplicate of another issue(s) feature-request Request for new features or functionality
Projects
None yet
Development

No branches or pull requests

5 participants
@joaomoreno @weinand @isidorn @hediet and others