簡體   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