VS code 在终端下使用 code ./ 打开当前项目 LDW 2022-10-30 151 阅读1分钟 Visual Studio Code的扩展工具菜单中有Install command line的快捷安装 运行 VS code并打开命令面板( ⇧⌘P ),然后输入 shell command 找到: Install ‘code' command in PATH ,点击安装OK。 Mac命令行中进入文件夹,执行如下命令,快速在VS Code中打开文件 code .