从vscode中的集成终端内打开一个新的集成终端的命令是什么?
我正在尝试设置一系列任务,每个任务都需要一个终端.为此,我需要使用一个命令从以前的集成终端打开一个新的集成终端选项卡.有什么办法可以在 vs-code 集成终端中做到这一点?
I'm trying to setup a chain of tasks that need a terminal for each one. To do so, I need to use a command that opens a new integrated terminal tab from a previous integrated terminal. Is there any way to do so in vs-code integrated terminal?
在 mac 中我会使用
In mac I would use
open -a Terminal
或者像 ttab 之类的东西,它会立即在当前 iterm 终端中打开一个选项卡.
Or something like ttab that immediately opens a tab in the current iterm terminal.
谢谢
(我正在寻找在终端中输入的命令,而不是热键)
(edited: I'm looking for a command to type in the terminal, not hotkeys)
-
Ctrl+Shift+` (Tilda) 是在 Windows 上打开另一个终端的键盘快捷键.
-
Ctrl+Shift+` (Tilda) is the keyboard shortcut to open another terminal on Windows.
Cmd+Shift+` (Tilda) 是在 Mac 上打开另一个终端的键盘快捷键.
Cmd+Shift+` (Tilda) is the keyboard shortcut to open another terminal on Mac.
-