Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to get intellisense in Visual Studio Code for Unity functions names?

I am following a tutorial about Unity and I see that the instructor has intellisense when writes the method's name.

However I have only intellisense with classes and variables, I mean Unity classes like Rigidbody and my own variables.

enter image description here

I have also read: Autocompletion not working in Visual studio

How to enable intellisense in Visual Studio 2017 for Unity

like image 684
Enoy Avatar asked Sep 05 '18 16:09

Enoy


People also ask

How do I show IntelliSense in Visual Studio?

Ctrl + Space should do it.


1 Answers

Old question, but I had the same problem just recently.

There must have been an issue in your Assembly-CSharp.csproj or project-name.sln files. Most likely to be the .csproj file. If you take a look at it, you will see various references to .dll files.

You can tell Unity (my version: v2019.2.20f1) to create these for you by enabling Edit > Preferences > Generate all .csproj files.

 1. Delete both files.  2. Enable .csproj file generation.  3. Double click on a script in Unity. 

This fixed my issue.

like image 56
Mehmet Fırat Koloğlu Avatar answered Sep 20 '22 19:09

Mehmet Fırat Koloğlu