You are not logged in.

#1 2022-03-26 17:40:55

michaelmoreno
Member
Registered: 2021-10-04
Posts: 18

[SOLVED] VSCode Intellisense for Unity not working on Arch Linux

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

2. Install mono and msbuild

$ pacman -S mono msbuild

3. Change VSCode extension setting Omnisharp: Use Global Mono to Always:

File > Preferences > Settings > Extensions > C# Configuration

4. 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

#2 2022-03-27 15:53:34

Slithery
Administrator
From: Norfolk, UK
Registered: 2013-12-01
Posts: 5,776

Re: [SOLVED] VSCode Intellisense for Unity not working on Arch Linux

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.


No, it didn't "fix" anything. It just shifted the brokeness one space to the right. - jasonwryan
Closing -- for deletion; Banning -- for muppetry. - jasonwryan

aur - dotfiles

Offline

Board footer

Powered by FluxBB