Run / Open VSCode from Mac Terminal

后端 未结 16 1163
忘了有多久
忘了有多久 2020-12-07 07:01

I\'d like to run / open Visual Studio Code from the Mac OSX Terminal by running this command code .. I found instructions here:

https://code.visualstud

16条回答
  •  眼角桃花
    2020-12-07 07:17

    Try this one

    Open Visual Studio Code and press Command + Shift + P or F1 then type Shell in command palette now you are able to find this option like Shell Command : Install code in PATH from suggested list in command palette. Select that options.

    That's it.

    Now open your terminal type.

    $ code .
    

提交回复
热议问题