-
Notifications
You must be signed in to change notification settings - Fork 2
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
Improvement suggestion: toggle panes with some key binding. #73
Comments
Ctrl-Shift-Alt-M maximizes the current pane, which seems to basically be what you want. The only problem is the outline pane is considered part of the Editor and maximized too. @ccordoba12 how hard would that be to change? Is there any reason not to do so? |
Hum, not really. I just tried it this morning and it won’t maximize the editor. :/ |
Right; as mentioned above, it coincidentally happens that the one pane that in the custom layout you have, the Outline, is the one pane that will get maximized along with the Editor if its open, and the UI will look exactly like you showed in your screenshot. Also, I might have changed the default shortcut on my end; you can select |
I was also thinking that a "quick and dirty" solution would be set the minimum width of the right hand side section, where the panes are arranged as tabs, to zero. |
We already have keyboard shortcuts that show a pane if it's hidden and give it focus if it's visible (e.g. What do you think?
Is not that hard, actually.
Historical reasons mainly, i.e. that's how Pierre (the original Spyder's author) decided to implement the maximized view for the editor. However, I agree that having the Outline is useful. The thing is we must not enforce it and that's harder to implement.
That's technically not possible because some widgets require a minimal size. However, we could hide whole areas in the interface, at least according to this: https://forum.qt.io/topic/24211/how-to-show-hide-a-whole-docking-area/3 So we could add shortcuts to do that. |
Many thanks for the answers guys!
This! |
Follow-up: is this included in any roadmap? Giving that I am here, and after having experienced (and solved!) many issues thanks to your suggestions, I could summarize a a couple of refined requests as it follows:
What do you think? |
That's an interesting idea but not easy to implement at all.
That's interesting too but what I don't know what set of shortcuts we should use and in what order we should assign them.
There's always a "root" or "parent" editor and that's the one that can't be closed. |
I definitely like that idea, as I've often found situations where having it would be useful. As for UI, I'd suggest making it behave like Ctrl-Tab, Alt/Cmd-Tab, etc and just have it toggle between panels in some order, ideally MRU but it wouldn't be necessarily required for an initial implementation, since in the most common two-panel case it wouldn't matter. As such, Ctrl-Alt-Tab (and adding Shift to reverse the direction, if needed, by extension with Ctrl-Tab, Alt/Cmd-Tab, etc) seems to be a reasonable choice for a shortcut. |
My custom layout is the following:
However, during my latest project I noticed a couple of things
black
.Therefore, I was wondering if it is possible to add some key binding to hide/unhide the right hand side of the screen, see picture below.
Or, more generally, I am wondering if it is possible to add some key-bindings like:
...or something similar plus some another keyboard shortcut to jump from one editor split to another split (if you are familiar with
Vim
I am thinking about a<c-w>w
command).In this way one would only have two editor's view side-by-side (which is quite common) in a very clean way and don't have to switch between keyboard and mouse too often.
The text was updated successfully, but these errors were encountered: