I'm also not sure if this does anything for "big boy" VS or only works with Code. I suspect this is forcing some kind of project file reload, but I'm not sure. From then on out, I can just double-click a script to open it from the project view and Intellisense will be enabled. One thing I did note is that the installation requirements have jumped from 7.5GB to over 11GB for Visual Studio 2013 Ultimate. This has been the case for every major Visual Studio release and I know folks that have Visual Studio 2005 as well. This time, when VSCode is done loading, Intellisense works for me. In this case both Visual Studio 2012 and Visual Studio 2013 will live side by side on the same system. In the Project view, right click on the script file and select "Open C# Project" from near the bottom of the menu.(This step may be unnecessary, but I do it every time out of habit.) After VSCode loads all its stuff, notice that Intellisense does not work, and close VSCode again. Double click on the new script file to open it in VSCode.In the Project view, create a new script file.I do not have any Unity-specific VSCode extensions installed, but I don't think they would hurt this.
INSTALL VISUAL STUDIO 2012 CODE
I'm using Visual Studio Code with the C# extension, and have it set as Unity's External Script Editor. (And for my own reference when I inevitably hit this again after a gap in new projects. The fix that I've found is slightly different from anything I'm seeing above, so I thought I'd share it in case it helps anyone else still struggling with this. I use Visual Studio Code and Intellisense is non-functional every time I create a new Unity project lately. In my case, I just installed Unity and Visual Studio Code for the first time a few days ago and I just didn't know about the extra Unity extensions that I REALLY needed. I installed all of the above, and I'm happy now! Two additional optional Unity tools to consider installing: I would've provided links but the Unity Forum marks it as spam.įor me, the Unity Debugger finally fixed it!
INSTALL VISUAL STUDIO 2012 INSTALL
In addition to the steps listed above in this thread, there is also a Visual Studio marketplace addon that I had to install! Install the following free addon extensions from Visual Studio Marketplace. Unity recognizes that Visual Studio Code is my External Script Editor, but intellisense in Vis Studio Code still does not recognize or provide autocomplete for Unity namespace items.Įdit: After a bit of searching I found the solution! I added the checkboxes to all of them, but it had no impact when I reopened a script through Unity. I didn't have any checkboxes selected under "Generate. I already had Visual Studio Code selected as script editor.