Skip to content
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 users to create a 'collection' of tabs that will open specified command lines with different starting directories. #6851

Closed
Mike-Becatti opened this issue Jul 9, 2020 · 6 comments
Labels
Issue-Feature Complex enough to require an in depth planning process and actual budgeted, scheduled work. Resolution-Duplicate There's another issue on the tracker that's pretty much the same thing.

Comments

@Mike-Becatti
Copy link

Description of the new feature/enhancement

I often need to open the same 4+ tabs with different starting directories. It would be nice to have a feature similar to the 'collections' in MS Edge that will open several tabs to a specific command line and starting directory.

Proposed technical implementation details (optional)

@Mike-Becatti Mike-Becatti added the Issue-Feature Complex enough to require an in depth planning process and actual budgeted, scheduled work. label Jul 9, 2020
@ghost ghost added Needs-Triage It's a new issue that the core contributor team needs to triage at the next triage meeting Needs-Tag-Fix Doesn't match tag requirements labels Jul 9, 2020
@WSLUser
Copy link
Contributor

WSLUser commented Jul 9, 2020

You technically can do this now using combination of profiles with the commandline parameter set and using the wt argument parser (to get your tabs and/or panes). You could also just script it out purely using the argument parser (so you don't need to enter it every time you close Terminal).

@WSLUser
Copy link
Contributor

WSLUser commented Jul 9, 2020

Perhaps when the Settings UI is created, this could be an enhancement to remove the need to script it out yourself and configure it in the Settings UI instead (possibly as an extension).

@Mike-Becatti
Copy link
Author

Perhaps when the Settings UI is created, this could be an enhancement to remove the need to script it out yourself and configure it in the Settings UI instead (possibly as an extension).

Thanks for the response. I figured there was a way to script it. I was hoping to be able to do it through the UI.

@WSLUser
Copy link
Contributor

WSLUser commented Jul 9, 2020

They're still going over the spec #6720. Once that's been flushed out, they'll begin implementing it. I'm sure they'd appreciate any feedback regarding this feature request.

@zadjii-msft
Copy link
Member

zadjii-msft commented Jul 9, 2020

As @WSLUser points out, you can use the wt commandline currently do do a little bit of this. I actually have a profile with the following:

{
    "name": "Good Morning",
    "commandline": "cmd.exe /k wt cmd.exe /k #work 15 ; split-pane cmd.exe /k #work 15 ; split-pane -H cmd.exe /k media-commandline ; new-tab powershell dev\\symbols.ps1 ; new-tab -p \"Ubuntu 18.04\" ; new-tab -p \"microsoft/Terminal\" ; focus-tab -t 0",
}

which opens up 4 tabs, and the first has 3 panes, for my initial dev environment. This unfortunately opens it in a new window currently, but it works for me. We've got lots of plans on how to improve this:

edit: you know what, I'm just gonna close this thread as a duplicate of the combined sum of all the other threads listed, since they seem to cover this scenario pretty well.
/dup #756
/dup #6537
/dup #5970
/dup #1571

@ghost
Copy link

ghost commented Jul 9, 2020

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 ghost closed this as completed Jul 9, 2020
@ghost ghost added Resolution-Duplicate There's another issue on the tracker that's pretty much the same thing. and removed Needs-Triage It's a new issue that the core contributor team needs to triage at the next triage meeting Needs-Tag-Fix Doesn't match tag requirements labels Jul 9, 2020
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Issue-Feature Complex enough to require an in depth planning process and actual budgeted, scheduled work. Resolution-Duplicate There's another issue on the tracker that's pretty much the same thing.
Projects
None yet
Development

No branches or pull requests

3 participants