-
Notifications
You must be signed in to change notification settings - Fork 29.4k
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
Allow to split an editor into an existing group #133260
Comments
Thanks for the pointer. However this does not really solve my issue. I want to keep my editor split in 2-groups with each groups having tabs. #132651 only seems useful to have two views of the same file. However in many case, my 2 groups contain different files and I need to control each groups individually (through tabs). Additionally, if I already have 2 groups open, #132651 would have the same issue as the current |
Understood. I added the following 8 commands to split editors into other groups, reusing groups if present:
|
Awesome! Thank you for the fast implementation. |
Currently no plans to add this to the context menu to keep it small. |
I agree about keeping the menu minimal. My original proposal was not to add any new context options, but to allow control the behavior of the current
|
When I edit code, I often use the
Right click -> Split right
to duplicate a file side by side. However I rarely need more than 2 panes open at the same time.When a pane already exists on the right, it would be nice if
Right click -> Split right
duplicate the file in the existing pane, rather than creating a new one.So the first time,
Right click -> Split right
would create a new pane, then the futureRight click -> Split right
would reuse the new existing right pane.In the less frequent case where users need 3 or more panes, it would still be possible to create new panes by using
Right click -> Split right
on the right-most pane.I think it would simplify the most frequent use-case where user want to duplicate a file (to view it side by side), but want to reuse the existing opened pane.
This new behavior could be controlled by a new setting option.
Currently, when the editor is split in 2: Everytime we need to duplicate a file,
Right click -> Split right
create a third collumn (in the middle), and we need to manually drag the file into the right collumn to close the middle collumn.The text was updated successfully, but these errors were encountered: