Visual Studio 代码“Shell 命令:在 PATH 命令中安装‘代码’命令." [英] visual studio code "Shell Command: Install 'code' command in PATH command."
问题描述
我刚开始使用 Angular.我安装了 angular/cli
并添加了一个项目.现在我想使用visual studio代码.
I just started with Angular.
I installed angular/cli
and added a project.
Now I want to use visual studio code.
我打开命令面板 (Ctrl + Shift + P)
并键入 'shell command'
以找到 Shell 命令:在 PATH 命令中安装 'code' 命令.
I Open the Command Palette (Ctrl + Shift + P)
and type 'shell command'
to find the Shell Command: Install 'code' command in PATH command.
但是我收到了这条消息
没有匹配的命令"
请帮帮我.为什么不存在?
Please help me. Why does not exist?
Dupe target 是针对 Mac 而这个问题是在 windows 上的
Dupe target is for Mac while this question is on windows
推荐答案
Windows 默认安装它,所以你不需要添加路径.只需在 cmd 中运行"code . ",它就可以正常工作
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
这篇关于Visual Studio 代码“Shell 命令:在 PATH 命令中安装‘代码’命令."的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!