Change default terminal app in Visual Studio Code on Mac

前端 未结 6 627
你的背包
你的背包 2020-12-02 06:52

I want to change the default terminal app used by Visual Studio Code for Mac. I am thinking it is part of preferences or settings json, but unsure.

6条回答
  •  慢半拍i
    慢半拍i (楼主)
    2020-12-02 07:31

    From visual studio code blog:

    // 64-bit cmd it 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"
    // Bash on Ubuntu (on Windows)
    "terminal.integrated.shell.windows": "C:\\Windows\\sysnative\\bash.exe"
    

    Reference: Integrated Terminal

提交回复
热议问题