我們可以在VS Code中添加多個不同的終端嗎?我刨添加以下三個終端工作與所有那些如何在VS代碼中添加多個終端?
- Windows命令的提示
- 電源外殼
- GET慶典
我知道我需要添加以下在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",
命令
我要添加的所有上述三個命令的setting.json
,當我點擊+
不同的終端應該打開,我想在不改變的喜好與終端工作。 VS編碼可能嗎?也許
如果你輸入這個到powershell終端,它將啓動git bash:'&「c:\ Program Files \ git \ bin \ bash.exe」' – Davos