-
Notifications
You must be signed in to change notification settings - Fork 29.7k
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
Launch task directly into split terminal #47265
Comments
(Experimental duplicate detection) |
This would be awesome! |
One idea is to create a new {
"version": "2.0.0",
"tasks": [
{
"label": "ionic-serve",
"type": "shell",
"command": "ionic serve",
"isBackground": true,
"terminalGroup": "watchers"
},
{
"label": "dotnet-serve",
"type": "shell",
"command": "dotnet watch",
"isBackground": true,
"terminalGroup": "watchers"
}
]
} Here's how it would flow:
|
I support this proposal for tasks (particularly "terminalGroup" idea suggested above) but think this feature should be supported for launch configs too. I use integrated terminals and a compound launch configuration for debugging multiple Node processes with Nodemon. It would be great to have "terminalGroup" option when "integratedTerminal" specified in launch config to support split terminals when debugging. This would stop me forever cycling between terminals when debugging. It would also enable me to have one terminal with multi-splits for tasks, another with multi-splits for debugging, etc. This would be awesome for terminal management. |
* Return splitted instance from ITerminalService::splitInstance * Add support for terminalGroup to tasks * Early-exit when the tab could not be split https://github.com/Microsoft/vscode/pull/65973/files/42e3171a71ae4b6963e47318fd289a66eb48a96a#r245762395 * Use .get()! instead of the unsupported [] to access LinkedMap * Move api changes into `vscode.proposed.d.ts` * Rename "terminalGroup" to "group" * Only keep references to terminals in sameTaskTerminals and idleTaskTerminals if the terminal is not disposed * Type result variable Fixes #47265
Issue Type: Feature Request
The integrated terminal split panes should support launching a task from the command palette into a split terminal panel.
Here is the current workflow
ctrl+p -> task first-watcher-task -> enter
. (A new terminal window appears, running the task).ctrl+p -> task second-watcher-task -> enter
because that would open a whole new terminal section of its own.Here is the desired workflow
ctrl+p -> task some-watcher-task -> enter
. (A new terminal window appears, running the task).ctrl+p -> task second-watcher-task -> enter
. Somehow, this task runs in a second panel of the split terminal, based on some extra command, a task configuration setting, or perhaps by having focus in an already opened split terminal.VS Code version: Code - Insiders 1.22.0-insider (8133505, 2018-04-03T01:09:54.914Z)
OS version: Windows_NT x64 6.1.7601
The text was updated successfully, but these errors were encountered: