vscode-terminals icon indicating copy to clipboard operation
vscode-terminals copied to clipboard

Support for groups

Open fabiospampinato opened this issue 6 years ago • 5 comments

We should add support for groups, this would allow us to group some terminals together. The benefits are better organization and the ability to run more than one terminal, but not all of them, at the same time.

The quickpick would look something similar to this (Gif taken from Projects+):

Groups

fabiospampinato avatar Mar 12 '18 08:03 fabiospampinato

This would be an awesome feature!

tnrich avatar Oct 07 '19 21:10 tnrich

Would be a great feature for teams working in one mono-repository.

zirkelc avatar Mar 05 '22 07:03 zirkelc

Would love support for groups!

gigamesh avatar Dec 11 '22 19:12 gigamesh

In order to not break existing configs, I'd propose a key like

{
  "name": "This Terminal"
  "runWith": ["Other Terminal 1", "OT2"]
}

If This Terminal is onlySingle: false then we check the onlySingle status of Other Terminal 1 and OT2 and if one of the terminals inside runWith also has onlySingle: false then we can safely ignore it when Terminals: Run is executed. We then ensure we run them if This Terminal is launched with Terminals: Run Single.

cssinate avatar Jul 26 '23 14:07 cssinate

The workaround I came up with requires adding a keybinding. See here: https://github.com/fabiospampinato/vscode-terminals/issues/82#issuecomment-1652061990

cssinate avatar Jul 26 '23 15:07 cssinate