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

Expand local variables by default #14738

Open
mvtec-richter opened this issue Jan 17, 2025 · 2 comments
Open

Expand local variables by default #14738

mvtec-richter opened this issue Jan 17, 2025 · 2 comments

Comments

@mvtec-richter
Copy link
Contributor

Feature Description:

When using the debugger in Theia, the first thing I need to do is to expand the local variable scope to see the values of the local variables of the current scope. This is annoying, as this has to be done every time I start debugging again.
The should expand the local variables by default.
VSCode does this too.

@mvtec-richter
Copy link
Contributor Author

I already looked into the implementation and saw, that initial state of expanding is set here:
https://github.com/eclipse-theia/theia/blob/master/packages/core/src/browser/source-tree/source-tree.ts#L67
Unfortuately, it's always initialized with false.
I wonder, if it would be ok to add a boolean property expandByDefault to CompositeTreeElement and use this in the toNode method?

@JonasHelming
Copy link
Contributor

@rschnekenbu

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

2 participants