-
Notifications
You must be signed in to change notification settings - Fork 27.9k
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
Extension development: Add debug-hover-like data navigation to regular hovers #81313
Comments
What you saw was likely a bug. Can you provide a minimal repro case by forking https://github.com/microsoft/vscode-extension-samples/tree/master/helloworld-sample? Also I'm not sure what you meant by "where the user can navigate the data vi unfolding the pieces of interest". |
@octref: My issue is probably too unclear. It is not a bug report, it is a feature request on the API.
When hovering over a variable in debug mode, and the value is some data structure, you get a tree view navigator UI. That is what I want to be able to create in non-debug hovers. |
You'll need to get @jrieken interested, but my guess is this won't fit current API. We support MD in hover/completion/parameter-hints and so far there's no plan to add any interactivity over there. |
I doubt he'd be interested in doing this over doing #3220, which is more generic and covers this case. |
Tbh this has no real chance of happening as our UX extensibility story is topic focused and rarely a general purpose story |
This issue is being closed to keep the number of issues in our inbox on a manageable level, we are closing issues that are not going to be addressed in the foreseeable future: We look at the number of votes the issue has received and the number of duplicate issues filed. More details here. If you disagree and feel that this issue is crucial: We are happy to listen and to reconsider. If you wonder what we are up to, please see our roadmap and issue reporting guidelines. Thanks for your understanding and happy coding! |
Now you are limited to MD. Track #3220 for more possibilities in the future. |
My extension (Calva, a Clojure extension) connects the editor view with the REPL running ”inside” the application under development. It blurs the borders between debugging and coding. In particular, you do not need to be in debug mode to query the value of some variable.
In Calva you can evaluate a form and see the result inline in the editor. I am right now adding a hover so that you can examine the results a bit closer. It looks like so:
For large data structures, this gets not so nice, though. It would be much better to present it like data is presented in debug hovers, where the user can navigate the data vi unfolding the pieces of interest.
The text was updated successfully, but these errors were encountered: