我们可以在VS Code中添加多个不同的终端吗?我计划添加以下三个终端并与所有这些一起工作
- Windows命令提示符
- 电源外壳
- Git Bash
我知道我需要添加以下命令 Preferences => Setting
// // 64-bit cmd if available, otherwise 32-bit
"terminal.integrated.shell.windows": "C:\\Windows\\sysnative\\cmd.exe",
// // 64-bit PowerShell if available, otherwise 32-bit
"terminal.integrated.shell.windows": "C:\\Windows\\sysnative\\WindowsPowerShell\\v1.0\\powershell.exe",
// // Git Bash
"terminal.integrated.shell.windows": "C:\\Program Files\\Git\\bin\\bash.exe",
Run Code Online (Sandbox Code Playgroud)
我想在上面添加以上三个命令 setting.json
当我点击+不同的终端应该打开,我想在不改变首选项的情况下使用这些终端.是否可以在VS Code中使用?
每当我在Visual Studio Code中打开终端时,我都会得到一个bash shell.我想将CMD添加为第二个shell.为此,我查看了VS Code文档并找到了以下命令:
CTRL+ SHIFT+`
但它只打开第二个bash shell.是否有在集成终端中打开CMD的快捷方式,而不是在外部控制台中打开它?
