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

Add a quick watch popup for easy debugging of expressions #5955

Open
filipdutescu opened this issue Feb 12, 2023 · 2 comments
Open

Add a quick watch popup for easy debugging of expressions #5955

filipdutescu opened this issue Feb 12, 2023 · 2 comments
Labels
A-debug-adapter Area: Debug adapter client A-helix-term Area: Helix term improvements C-enhancement Category: Improvements

Comments

@filipdutescu
Copy link
Contributor

Description

A common feature in modern IDEs, which is very useful for quick evaluations of expression, without the need to add (and most likely edit and delete) a watch is quick watch (or evaluate). It shows the values of expressions using the current scope as a context for variables, functions etc.

Proposal

Add a quick watch popup, which could start empty or from the current code selection, behaving similar to a picker, with expandable values for the result of the expression. Expandable values should follow the implementation of locals from #5954.

UI mockups

image

@filipdutescu filipdutescu added the C-enhancement Category: Improvements label Feb 12, 2023
@pascalkuthe
Copy link
Member

I belive #5768 also contains a similar overlay tree view in addition to the side tree view so again basing your work on that pr will help

@filipdutescu
Copy link
Contributor Author

Yep, will do so, this change will probably depend on #5954, since after that one this one will probably be relatively trivial to achieve.

@pascalkuthe pascalkuthe added A-helix-term Area: Helix term improvements A-debug-adapter Area: Debug adapter client labels Feb 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-debug-adapter Area: Debug adapter client A-helix-term Area: Helix term improvements C-enhancement Category: Improvements
Projects
None yet
Development

No branches or pull requests

2 participants