You are not logged in.
Intellisense autocompletion for Unity components like RigidBody2D wasn't working in VSCode. I went down a chain of threads and eventually got it working. Here are the steps I followed.
1. Install dotnet-runtime and dotnet-sdk.
$ pacman -S dotnet-runtime dotnet-sdk$ pacman -S mono msbuild3. Change VSCode extension setting Omnisharp: Use Global Mono to Always:
File > Preferences > Settings > Extensions > C# Configuration4. Add to VSCode settings.json "omnisharp.path": "latest"
{
// put the following anywhere in settings.json
"omnisharp.path": "latest",
"omnisharp.useGlobalMono": "always" // a result of / another way to do step 3.
}4. Reinstall the C# extension and restart machine for full measure (maybe unnecessary).
Last edited by michaelmoreno (2022-03-26 17:48:44)
Offline
Thanks for the post but the forums aren't the correct place for guides and how-to's.
Please consider adding this information to the wiki instead where it can be more easily found and updated.
Offline