Vansh Bansal
Vansh Bansal

Reputation: 33

Unity C# scripts when edited in Vs Code, do not offer auto completion

Whenever I write code for my game in visual studio code, there is no autocompletion offer...

For example, in the picture below, "Transform" doesn't even exist.

I have already downloaded unity recommended extensions: Debugger for Unity, Unity Snippets, Unity Code Snippets, Unity Tools. And it didn't work even if I remove them.

Image

Upvotes: 3

Views: 173

Answers (1)

Abibi
Abibi

Reputation: 38

Go to Edit -> Preference -> ExternalTools

Preference

then chose your External Script editor enter image description here

then there you go

incase it's still not working, it's probably because your visual studio does not have the unity developer package, go to your visual studio installer, then modify and check the unity package thinggy.

or download the extension if u using visual studio code

Upvotes: 1

Related Questions