Ability to save a Windows Terminal pane layout as a profile for easy startup #8590
Labels
Issue-Feature
Complex enough to require an in depth planning process and actual budgeted, scheduled work.
Needs-Tag-Fix
Doesn't match tag requirements
Needs-Triage
It's a new issue that the core contributor team needs to triage at the next triage meeting
Description of the new feature/enhancement
In my dev cycles, I usually use 4-6 different pieces of software such as Redis servers, yarn, storybook, NGINX, etc. and it gets to be very tedious launching each of those one after the other. If possible, I'd like to be able to save a "snapshot" or "profile" of my current layout with the directories. From there, it'd be nice to be able to run commands on startup as well so for example, pane 1 launches NGINX in X directory, pane 2 launches Redis in Y directory, pane 3 launches
yarn run dev
in Z directory, so on and so forth.This would solve the problem of having to manually launch multiple utilities to get started with your development. As for how the user would use it, I'd imagine a command (
ctrl+shift+s
) would save the layout and directories in a profile and allow them to launch the profile via the existing profile system.As a disclaimer, I do know about the
wt
command with thesplit-pane
option but I've personally not been able to get the configuration I've wanted. This solution would be a bit more user friendly as well so that's a benefit as well. Apologies if this is already an existing feature; if so, please let me know!Proposed technical implementation details (optional)
The simplest method I can think of would be a launch config in JSON format.
name
- The name of the profile or layoutpaneLayout
- [X, Y] - Number of columns (X) and rows (Y) to create in the tabpaneSettings
- The launch config for each pane including the workingworkingDirectory
- The directory to navigate to in this panelaunchCommand
- Optional command to run in this paneEdit
I've been able to achieve something similar with the
wt
command but it's not ideal. It doesn't seem like you're able to focus on individual panes so each horizontal split gets smaller and smaller.The text was updated successfully, but these errors were encountered: