visual studio code “Shell Command: Install 'code' command in PATH command.”

后端 未结 10 748
感动是毒
感动是毒 2020-12-31 01:57

I just started with Angular. I installed angular/cli and added a project. Now I want to use visual studio code.

I Open the Command Palette (Ctrl +

相关标签:
10条回答
  • 2020-12-31 02:44

    Visual Code already have internal terminal window

    Use the Ctrl+` keyboard shortcut with the backtick character.

    Its supports all Ubuntu terminal commands

    0 讨论(0)
  • 2020-12-31 02:46

    the path has been set automatically when installing VS.But i noticed a difference between "code." and "code ." Can you see the difference? The second has space in between the code and the dot. Try that.

    0 讨论(0)
  • 2020-12-31 02:47

    I fixed this just adding "C:\Users\myUser\AppData\Local\Programs\Microsoft VS Code\Code.exe" (where myUser is your windows user) without "" to system path.

    same effect than " Shell Command: Install ‘code’ command in PATH ".

    0 讨论(0)
  • 2020-12-31 02:55

    Just open your command prompt and type:

    cd hello-world
    

    hello-world is the project name don't forget to change it then click (enter) and type

    code .
    

    enter image description here

    0 讨论(0)
提交回复
热议问题