VS Code - Cygwin as Integrated Terminal

前端 未结 4 577
时光说笑
时光说笑 2020-12-23 12:01

I would like to use Cygwin as the integrated terminal on Visual Studio Code on my Windows laptop (as this would give me use of the Linux terminal commands git and G++, etc.)

4条回答
  •  南方客
    南方客 (楼主)
    2020-12-23 12:03

    You could just call the Cygwin.bat without ENV issue:

    {
        // Replace with your Cygwin.bat file path 
        "terminal.integrated.shell.windows": "C:\\cygwin64\\Cygwin.bat",
    }
    

    Make sure the BAT scripts fit to your Cygwin.

提交回复
热议问题