Visual studio code not helping with autofill

I’m not getting the autofill prompts in visual studio code like in the video (transform.Rotate).
I have the “C#” and “Unity Code Snippets” plugins installed.

here’s what I get:

I also get these error messages whenever I load Visual Studio Code:

image

Hi Vandole,

Please follow the instruction on this website and make sure all required extensions are installed: https://code.visualstudio.com/docs/other/unity

If the issue persists, please check the console of VS Code (not Unity!). If the .NET Framework 4.7.1 (Developer Pack) is mentioned there, download and install it from the official Microsoft. Here is the link: https://dotnet.microsoft.com/download/dotnet-framework/net471

Depending on your version of Unity, it might be that you will have to install the “Visual Studio Code Editor” package in Window > Package Manager in Unity.

Maybe you’ll have to reboot your computer. Then launch Unity again and open one of your scripts.

Did this help you fix the issue?


See also:

2 Likes

Thank you!

I followed a link in the VS Code console error message for installing the .NET core SDK thing and it took me to a download for .NET Framework 5.0.

Downloading that and restarting seems to have fixed the startup errors and my issues with the autofill/autocomplete.

Do I also need to download 4.7.1?

No need to download the .NET Framework 4.7.1 if installing the .NET Framework 5.0 fixed the issue for you. :slight_smile:

1 Like

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.

Privacy & Terms