Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

VS2015 auto complete function not working

I recently got a new computer but I chose to install VS2015 after reinstalling Unity. I previously used monodevelop but thought I'd give VS a go (partially because it became the default program when opening scripts through Unity and I can't seem to change that).

I am however having a few problems due to the intellisense/auto complete function not working. I've read through a lot of answers on here but nothing seems to help.

enter image description here

enter image description here

enter image description here

enter image description here

like image 447
Connarhea Avatar asked Oct 18 '22 21:10

Connarhea


1 Answers

My suggestion would be to rebuild your solution files.

From your projects root folder, copy Assets and Project Settings ONLY over to a new directory. From here open up one of your scenes, Unity will import assets and build the scene.

Once open, go to Edit -> Preferences -> External Tools and make sure that Visual Studio 2015 is selected as the External Script Editor and then go Assets -> Sync MonoDevelop Project (Ignore the name MonoDevelop!)

See if that works for you.

Failing that follow the guide here and note what version of Unity you are using as there are different steps for pre 5.2 Getting Started with Visual Studio Tools for Unity

And if that doesn't work, it's going to be a problem with your Visual Studio install. I've had this before even on a new install. So try a re-install as a last resort.

like image 134
Rodders Avatar answered Nov 15 '22 06:11

Rodders