How to call VS Code Editor from terminal / command line

前端 未结 21 1433
别那么骄傲
别那么骄傲 2020-12-04 06:22

The question says it all.

How can I open VS Code editor from

  • windows cmd
  • linux and mac terminal

e.g. for notepad++ I write

21条回答
  •  既然无缘
    2020-12-04 07:07

    Other easyway to do it on mac is :go to Command Palette[ Shift ⇧+ Command (⌘)+P] and type :Shell Command: Install 'code' command in PATH

    once installed: Shell command 'code' successfully installed in PATH.

    Then you can use code from the terminal as well.

提交回复
热议问题