Add progress saving #13600

Closed
opened 2026-01-31 03:47:00 +00:00 by claunia · 3 comments
Owner

Originally created by @FilipToth on GitHub (Apr 23, 2021).

Description of the new feature/enhancement

I think it would be beneficial for the user to have the ability to save their workflow into a file and then automatically open the saved workflow when the terminal is opened. Maybe a .terminal-workspace file where all the details would be saved.

Usage Examples

  • I have 2 tabs opened (a PowerShell tab and an Azure Cloud Shell tab). I have the PowerShell tab split into 2 windows, one for running my unit tests and the other for manual testing. Every time close the terminal and then later continue with my work, I have to open all my tabs again.
  • Say I get some issues when running my tests, then I restart the terminal (maybe took a break or something) when reopening the terminal it would be great if all the history would load because now, I have to run the test again.
Originally created by @FilipToth on GitHub (Apr 23, 2021). # Description of the new feature/enhancement I think it would be beneficial for the user to have the ability to save their workflow into a file and then automatically open the saved workflow when the terminal is opened. Maybe a .terminal-workspace file where all the details would be saved. ## Usage Examples - I have 2 tabs opened (a PowerShell tab and an Azure Cloud Shell tab). I have the PowerShell tab split into 2 windows, one for running my unit tests and the other for manual testing. Every time close the terminal and then later continue with my work, I have to open all my tabs again. - Say I get some issues when running my tests, then I restart the terminal (maybe took a break or something) when reopening the terminal it would be great if all the history would load because now, I have to run the test again.
claunia added the Issue-FeatureResolution-Duplicate labels 2026-01-31 03:47:00 +00:00
Author
Owner

@zadjii-msft commented on GitHub (Apr 23, 2021):

Thanks for the suggestion! Looks like we're tracking this in #776.

/dup #766


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 new-tab/split-pane with nt/sp, respectively).

I add that to the keybindings/actions. This creates a new command in the Command Palette named "Good Morning". That opens up a few tabs & panes, running various build environments. I like having it in a command rather than startupActions, because I only really want this in one terminal window, not every single one I launch. It's personal taste.

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.

@zadjii-msft commented on GitHub (Apr 23, 2021): Thanks for the suggestion! [Looks like](https://github.com/microsoft/terminal/issues/766#issuecomment-779902831) we're tracking this in #776. /dup #766 <hr> So for reference, I like to do like the following each time I boot up the Terminal in the morning: ```json { "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 `new-tab`/`split-pane` with `nt`/`sp`, respectively). I add that to the `keybindings`/`actions`. This creates a new command in the [Command Palette](https://docs.microsoft.com/en-us/windows/terminal/command-palette) named "Good Morning". That opens up a few tabs & panes, running various build environments. I like having it in a command rather than `startupActions`, because I only really want this in _one_ terminal window, not _every single one I launch_. It's personal taste. 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.
Author
Owner

@ghost commented on GitHub (Apr 23, 2021):

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!

@ghost commented on GitHub (Apr 23, 2021): 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!
Author
Owner

@FilipToth commented on GitHub (Apr 23, 2021):

Alright, good to know, Thanks!

@FilipToth commented on GitHub (Apr 23, 2021): Alright, good to know, Thanks!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#13600