Visual Studio Code "Shell Command: Set the" code "command in the PATH command."

enter image description hereI just started with Corner. I installed angular/cliand added a project. Now I want to use the studio's visual code.

I Open a command palette (Ctrl + Shift + P)and type 'shell command'to find the Shell command: set the "code" command in the PATH command.

But I get this message

"No teams matching"

Please help me. Why doesn’t exist?

Not a duplicate.

Dupe's goal is for the Mac, as long as the question is on the windows

+8
source share
7 answers

On Windows, it is installed by default, so you do not need to add a path. Just run "code." In cmd and it will work fine

+6

. , VS Code, . , PATH, .

, , .

, PATH , , , ( , 1.23.0) PATH. , , , .

+2

Visual Studio Code , , bin Visual Studio .

Enviroment Path. bin Visual Studio Code. , Mine "C:\Users\Inazio\AppData\Local\Programs\Microsoft VS Code\bin"

Visual Studio Code code command enviroment variable

+1

.go , ( , "C:\Users\your-username\project-name"), "code". enter. Visual Studio .

0

Windows. cmd-, (, C:\WINDOWS\system32> cd C:\WINDOWS\system32\hello-world), comamnd-. (C:\Windows\System32\hello-world>).

example

VS Code

0

, "C:\Users\myUser\AppData\Local\Programs\Microsoft VS Code\Code.exe" ( myUser - Windows) "" .

, " Shell Command: Install 'code command in PATH ".

0

Visual Code

Ctrl + ` .

Ubuntu

-1

Source: https://habr.com/ru/post/1689947/


All Articles