Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

Tags:

enter image description hereI 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 + Shift + P) and type 'shell command' to find the Shell Command: Install 'code' command in PATH command.

But I get this message

"No commands matching"

Please help me. Why does not exist?

Not a duplicate.

Dupe target is for Mac while this question is on windows

like image 755
Mahrooy Avatar asked Nov 28 '17 09:11

Mahrooy


People also ask

Should I add to path when installing Visual Studio code?

Windows and Linux installations should add the VS Code binaries location to your system path. If this isn't the case, you can manually add the location to the Path environment variable ( $PATH on Linux). For example, on Windows, VS Code is installed under AppData\Local\Programs\Microsoft VS Code\bin .

How do I get the path in VS Code terminal?

From the main menu, go to File > Preferences > Settings, and click on the “Open Settings (JSON)” icon shown below. Add a section, “terminal. integrated.


1 Answers

With Windows it is installed by default so you don't need to add path. Just run " code . " in cmd and it will work fine

like image 93
arslan ahmed mir Avatar answered Sep 22 '22 11:09

arslan ahmed mir