Home > Software engineering >  VSCode Unity Cant get working suggestion (even Debug.Log isnt autocompleting)
VSCode Unity Cant get working suggestion (even Debug.Log isnt autocompleting)

Time:10-05

So I tried to uninstall VSCode, deleting all its files and folders and following guides to reset it. I have dotnet sdk installed, and in VSC terminal dotnet command works I have C# Extension in VSCode installed. In Unity I select VSCode as default script editor, and regenerate all .csproj files. They show up in VSCode when I open a script.

I create new script, open it, and start typing "De" to see if "Debug.Log" gets suggested. Its like VSCode never heard of it DebugL gets offered to autocomplete with lock What am I doing wrong? Windows 10

CodePudding user response:

I've got the same error. Try going to edit>preferences>externaltools, select vscode and then uninstall c# extension if u have. That should work, at least in my case.

CodePudding user response:

Try installing visualstudio tools for unity that should work you can get it here https://docs.microsoft.com/en-us/visualstudio/gamedev/unity/get-started/visual-studio-tools-for-unity

  • Related