How to open Visual Studio Code from the command line on OSX?

后端 未结 24 1131
日久生厌
日久生厌 2020-11-30 16:20

The docs mention an executable called code, but I\'m not sure where I can find that so I can put it on my path. The zip I downloaded from the VSCode site did no

24条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2020-11-30 17:15

    I had this issue because of VS Code Insiders. The path variable was there but I needed to rename the code-insiders.cmd inside to code.cmd .

    Maybe this is useful to someone.

提交回复
热议问题