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

More than one sidebar? #86

Closed
riddlew opened this issue Feb 26, 2022 · 2 comments
Closed

More than one sidebar? #86

riddlew opened this issue Feb 26, 2022 · 2 comments
Labels
enhancement New feature or request

Comments

@riddlew
Copy link

riddlew commented Feb 26, 2022

After installing dap-ui and looking at the sample config, seems that there is only one sidebar. Is it / would it be possible to have more than one sidebar? What I have in mind is I'd like to have two sidebars, one has scopes and watches, the other has breakpoints and frames. This would allow me to give each section more vertical screen space instead of having to scroll constantly. This would allow me to place them wherever I want instead of grouping them together, such as one sidebar on the left, one on the right, and the repl and code in the middle.

@rcarriga rcarriga added the enhancement New feature or request label Mar 5, 2022
@rcarriga
Copy link
Owner

rcarriga commented May 5, 2022

I haven't updated on this so just wanted to give the state of things. This is actually very easy from the perspective of nvim-dap-ui internals and I do have it working just fine. However when it comes to opening and closing it's a bit more complex. Neovims window opening is a bit of a pain to use and the way it works in dap-ui right now is a bit hacky (https://github.com/rcarriga/nvim-dap-ui/blob/master/lua/dapui/init.lua#L181) so I just need to refactor the code to find a nice way to make sure all the layouts have the size that is desired by the user

rcarriga added a commit that referenced this issue Jun 4, 2022
BREAKING CHANGE: Switches from tray/sidebar in config to layouts

See #86
@rcarriga
Copy link
Owner

rcarriga commented Jun 4, 2022

OK have this implemented in #105 if you want to try it out. Will merge after a little more testing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants