- Home /
Visual Studio Code doesn't work for with unity
I use Visual Studio Code as my editor of choice. However, lately I have been seeing these errors: Does anyone have any idea how to fix this? I am using the most recent version of VSCode and Unity version 2017.4.13f1. I have already tried uninstalling and reinstalling VSCode.
Answer by jdelcin · Oct 31, 2018 at 07:05 PM
Did you install the plugin provided by Unity? https://assetstore.unity.com/packages/tools/vscode-45320
Yep, that did the trick. It is interesting that that was the solution, I have never had to install that package before. Regardless, thank you for the useful and quick response.
Answer by Vega4Life · Oct 31, 2018 at 07:26 PM
Within Unity go to - Edit -> Preferences. Click on External Tools and make sure your External Script Editor is set to Visual Studios.
Sometimes it doesn't get set and it can break your IntelliSense, etc. It's worth making sure. :)
$$anonymous$$y external script editor is set to "Visual Studio Code". What is "Visual Studios"?
Oh, 'Visual Studio Code'. I automatically just saw Visual Studio - which is their full IDE, whereas Visual Studio Code is a more lightweight version.
I would check out https://code.visualstudio.com/docs/other/unity just to make sure everything is set up correctly.