如何在VSCode中设置多个终端

时间:2018-01-27 12:31:52

标签: git terminal visual-studio-code windows-10 anaconda

我想在VSCode中选择多个终端,这样我就可以根据需要在它们之间进行循环。我是在追随以下内容:

  1. Powershell的
  2. 使用Anaconda提示符的CMD提示
  3. Git Bash
  4. 以下是我输入的VSCode设置:

        // Powershell for default Python 3.6.4
        "terminal.integrated.shell.windows": "C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\powershell.exe",
    
        // Access to Git hub bash within VS Code
        "terminal.integrated.shell.windows": "C:\\Program Files\\Git\\bin\\bash.exe",
    
        // CMD line prompt with Anaconda Prompt + Args 
        "terminal.integrated.shell.windows": "C:\\Windows\\System32\\cmd.exe",
    
        // The command line arguments to use when on the Windows terminal.
        "terminal.integrated.shellArgs.windows": ["/K", "C:\\Anaconda3\\Scripts\\activate.bat"], 
    

    不幸的是,当我现在点击“shift +〜”时,我只得到了Anaconda Prompt。如何在终端下拉菜单中显示多个终端以循环显示上述内容?

1 个答案:

答案 0 :(得分:0)