Martin Mbae
Martin Mbae

Reputation: 1286

Why is Visual Studio not displaying correct autoCompletion suggestions

I am using Unity with Visual Studio Code. However, VS Code is not giving me correct autocompletion suggestion. Below is a snippet of what it displays enter image description here

Once I select any of the suggestions, I am getting this :

enter image description here

Anyone ever experienced the same? How can I get correct suggestions.

Upvotes: 0

Views: 38

Answers (2)

Mohammed Khan
Mohammed Khan

Reputation: 158

If you need go to the tools move to the options and then set the lang to C# And also you have to link up your Visual Studio to the unity software You can do that by going to the Edit - preferences and external script editor the you can link up your visual studio

Upvotes: 0

vasmos
vasmos

Reputation: 2586

In Visual Studio: Tools -> Options -> Intellicode set to C#

In Unity: Edit -> Preferences -> External Script Editor, link up your Visual Studio

Upvotes: 1

Related Questions