繁体   English   中英

为什么代码。 快捷方式无法在OSX上运行?

[英]Why does the code . shortcut not work on OSX?

我试过添加'代码'。 在Visual Studio代码中启动当前目录的快捷方式 ,但我很快就返回了以下错误:

LSGetApplicationForInfo() failed with error -10814 while trying to 
determine the application with bundle identifier com.microsoft.VSCode.

Visual Studio Code已成功安装在我的计算机上。

我正在使用OSX Yosemite 10.10.3。

有谁知道如何让这个快捷方式正常工作?

确保安装了Visual Studio Code 0.3.0。 我们最近更改了包标识符!

此错误是因为Finder无法找到Visual Studio代码。 我可以通过删除Visual Studio代码在我的机器上重现相同的错误。

尝试将VS Code重新安装到/ Applications并重新启动终端。

command + shift + p

键入: Install 'code' command in path

选择选项

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM