Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

like image 523
Vansh Bansal Avatar asked Dec 31 '25 11:12

Vansh Bansal


1 Answers

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

like image 114
Abibi Avatar answered Jan 03 '26 01:01

Abibi



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!