dotBunny / VSCode

Unity Visual Studio Code Integration
MIT License
674 stars 181 forks source link

VSCode doesn't found Visual Studio Code.app #103

Closed ghost closed 8 years ago

ghost commented 8 years ago

Hi,

I recently installed the VSCode plugin on my current project on Unity and I can see the VSCode tab on preferences.

The problem I have is when I try to open a script, I get the next error:

Code executable in '/Applications/Visual Studio Code.app' not found. CheckVisual Studio Code installation and insert the correct path in the Properties menu UnityEngine.Debug:LogError(Object) dotBunny.Unity.VSCode:PrintNotFound(String) (at Assets/Plugins/Editor/VSCode.cs:384) dotBunny.Unity.VSCode:autodetectCodePath() (at Assets/Plugins/Editor/VSCode.cs:419) dotBunny.Unity.VSCode:get_CodePath() (at Assets/Plugins/Editor/VSCode.cs:53) dotBunny.Unity.VSCode:UpdateUnityPreferences(Boolean) (at Assets/Plugins/Editor/VSCode.cs:1119) dotBunny.Unity.VSCode:VSCodePreferencesItem() (at Assets/Plugins/Editor/VSCode.cs:819) UnityEditor.HandleUtility:EndHandles()

My Visual Studio Code.app it's correctly placed on /Applications and I can open it outside Unity. From the menu External Tools in unity, I was capable to choose Visual Studio Code as default Unity editor too.

Where is the error? Thanks!

screen shot 2016-05-30 at 22 22 19
reapazor commented 8 years ago

Grab latest :) I’ve fixed this now! Thanks for the heads up.


Matthew Davey

On May 30, 2016, at 4:33 PM, sanchezpaco notifications@github.com wrote:

Hi,

I recently installed the VSCode plugin on my current project on Unity and I can see the VSCode tab on preferences.

The problem I have is when I try to open a script, I get the next error:

Code executable in '/Applications/Visual Studio Code.app' not found. CheckVisual Studio Code installation and insert the correct path in the Properties menu UnityEngine.Debug:LogError(Object) dotBunny.Unity.VSCode:PrintNotFound(String) (at Assets/Plugins/Editor/VSCode.cs:384) dotBunny.Unity.VSCode:autodetectCodePath() (at Assets/Plugins/Editor/VSCode.cs:419) dotBunny.Unity.VSCode:get_CodePath() (at Assets/Plugins/Editor/VSCode.cs:53) dotBunny.Unity.VSCode:UpdateUnityPreferences(Boolean) (at Assets/Plugins/Editor/VSCode.cs:1119) dotBunny.Unity.VSCode:VSCodePreferencesItem() (at Assets/Plugins/Editor/VSCode.cs:819) UnityEditor.HandleUtility:EndHandles()

My Visual Studio Code.app it's correctly placed on /Applications and I can open it outside Unity.

Where is the error? Thanks! https://cloud.githubusercontent.com/assets/4403252/15657962/95c5407c-26b6-11e6-9956-01cb7c33ff9b.png — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/dotBunny/VSCode/issues/103, or mute the thread https://github.com/notifications/unsubscribe/AAGD3AqLKglbZXYp9KBS_8vH1tRq18Deks5qG0m2gaJpZM4IqBTs.

ghost commented 8 years ago

It works! Thank you very much!