-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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 debug panel, containing sections with relevant debugging information #5954
Comments
Thanks a lot for the feedback and kind words! I do really like your suggestions, especially the one with only the top separator, at the right of the title. I did it the way I did since there is already support for that exact border right now in Helix. I thought it would make this issue even more complex to allow customisation of borders for each widget. Is this assessment correct? Ideally you would be able to choose from all styles |
I guess you're right. The style of border you chose is in line with the existing ones, so maybe it's better to stay consistent for the first attempt. |
I doubt it would actually be much harder to render this way, Rendering border like this is mostly custom code and not that complex to begin with. I also prefer the variants suggested by @CptPotato as that makes the screen less cluttered. I don't think we necesssairly need to offer customization here and instead just choose one good default look |
If you are so kind, you could open an issue precisely for this improvement and add it to the tracking issue |
I don't think this is a separate issue and just a detail of how the panel would be styled |
Then I would go for the first option @CptPotato presented, which can have the divider hidden as well, seems cleanest |
In that case it might be nice to update the issue description with the new mockup |
Will do later. I will update the tracking one as well, so there is a history of how the design changed (this way we might get even more feedback). |
Description
Currently, it is very hard to view the values of variables and their inner fields, see all existing breakpoints, the call stack and there are no existing watches. This makes it very hard to debug any complex program, where any or all of the aforementioned items would be necessary.
Proposal
Add a configurable panel of widgets for locals, watches, call stack and breakpoints, which should be able to be placed in any of the following positions: left, top, bottom, right. Each widget should itself be placeable independently from the others, in any of those directions. Those settings should be set in the
config.toml
file.Values should be expandable, using the same mechanism that the explorer will expand directories (see #5768). They and watches should also be editable, with a prompt shown beneath the statusline, prefilled with the existing value.
UI mockups
Updated design, by @CptPotato:
The text was updated successfully, but these errors were encountered: