-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
Feature Request: Save panes layout as a profile which can be opened via the open tab menu #10717
Comments
So for reference, I like to do like the following each time I boot up the Terminal in the morning: { "command": { "action": "wt", "commandline": "new-tab --title OpenConsole cmd.exe /k #work 15 ; split-pane -s .30 --title OpenConsole cmd.exe /k #work 15 ; split-pane -s .25 -H cmd.exe /k media ; new-tab --title \"Symbols Script\" powershell dev\\symbols.ps1 ; new-tab -p \"Ubuntu 18.04\" ; new-tab -p \"microsoft/Terminal\" ; sp -V -p \"microsoft/Terminal\" ; sp -H -p \"microsoft/Terminal\" ; focus-tab -t 0" }, "name": "Good Morning" },
(you could probably make it shorter by replacing I add that to the You could repeat this for multiple different "session"s if you wanted. That way you could have layouts pre-defined for various different dev environments. We're also tracking adding commands to the new tab dropdown in #1571. More specifically though, I think this is roughly /dup #756 |
Hi! We've identified this issue as a duplicate of another one that already exists on this Issue Tracker. This specific instance is being closed in favor of tracking the concern over on the referenced thread. Thanks for your report! |
@zadjii-msft Not sure this is a true duplicate of #756, as it was intended more to be about the ability to create a layout using the split pane commands in an existing tab and then save them as a profile that can be opened later via the commands in the tab dropdown that are mentioned in #1571 (prime number, nice ^^), so that's on me for not really explaining the thought properly, but there is definitely a lot of cross-over between them. Do you think it's worth mentioning the ability to save the current pane layout in a comment on #1571? |
How are you actually able to do this? I also would like to have a preset settings which will open multiple tabs in certain order where multiple terminals are stacked vertically and horizontally. |
Description of the new feature/enhancement
Currently, it's possible to open a layout by creating a shortcut which opens the Terminal with a bunch of CLI options, which is great, however it'd be much nicer and more user-friendly to be able to create a layout directly in the interface by splitting panes and setting their heights and widths with the various keyboard shortcuts, and then clicking a Save as Profile option in the Open Tab drop-down menu which will add it to that drop-down as a future option when opening a new tab.
Proposed technical implementation details (optional)
On the
settings.json
front, you could do something like this?That would create this, for example:
Apologies if this is a duplicate, I did look through before creating it!
The text was updated successfully, but these errors were encountered: