# Visual Studio Code Unity AutoComplete still not working

I am having an issue with Visual Studio Code AutoComplete for Unity.

Some of the autocomplete is working, such as: void Start(), void Update(), but most of the rest of Unity Autocomplete is not working such as: GameObject, Rigidbody, Input.GetKey, etc..)

I know VScode and Unity are not connected like how Unity and Visual Studio are, but it seems that a lot of people make it work somehow, so I thought it is possible to make it work without much trouble.

• I have the extensions needed to make it work (C#, Unity Tools, Unity Snippets Code etc...)

• I have set vscode as my script editor (Unity -> Edit -> Preferences -> External Tools)

• I installed .NET Core SDK and .NET Framework 4.6 Targeting Pack

• I tried uninstalling Unity and vscode but that didn't work either...

How can I solve this?

• I just give up... for anyone out there is having the same problem as I did, just try Visual Studio instead! I know it's slower than VS Code but you'll get used to it, trying to make VS Code autocomplete work is just pain in the ass. I wasted like 1 or 2 weeks trying to make it work but nothing... Admin, should this be an answer ? – Crazyyy Lowy Oct 23 '20 at 14:05

## 4 Answers

I used to have the same problem, please check which version of omnisharph you have installed, the newest version have a problem with the intellisense, try to install an older version of the omnisharph and it will work ! Also try to check if you have the required plugins for Unity.

• See if visual studio code is installed in Unity package manager.
• In Visual Studio Code, install the following extensions : Debugger for Unity, Unity tools, Unity Code Snippets
• Note that the question explicitly states "I have the extensions needed to make it work (C#, Unity Tools, Unity Snippets Code etc...)" – DMGregory Jul 9 '20 at 10:42

Try right clicking in the folder view, and click open c# project, that fixes it for me

• Didn't work for me tho D: – Crazyyy Lowy Oct 23 '20 at 14:00

In my case, I didn't installed any .Net, I just installed an older version (1.16.21) of c# extension, I hope this helps