“code .” Not working in Command Line for Visual Studio Code on OSX/Mac

前端 未结 25 2401
日久生厌
日久生厌 2020-12-12 09:13

The command \"code .\" doesn\'t work in this manual?

All the other steps before that worked. How can I call the Visual Studio Code in OSX terminal?

         


        
25条回答
  •  清歌不尽
    2020-12-12 09:29

    Steps to follow:-

    1. Open Visual Studio code application & type Command+Shift+P and type command 'install code'. Then enter it.
    2. You will see below message in Visual Studio Application :- shell command ' code' successfully installed in PATH.
    3. Now, Jump to iTerm CLI and type code .
    4. Then you will be able to redirect to Visual studio for any code change/view.

    Hope this steps will be helpful for you.

提交回复
热议问题