Has anybody got the Linux version working properly with VSCode.
I can link my .sln and open up the files with context editing inside VSCode, but opening from Unity doesn’t seem to work as you’d expect. It will open VSCode, but doesn’t open the file and line you select.
Here’s my setup that apparently works on Mac. Any ideas?
[Not a Unity issue] Out of curiosity, has anyone got Omnisharp to actually provide Intellisense in VSCode on Linux? I kept getting a Mono version error (it complained about needing 3.1.x and higher, I have 3.2.x installed). So for now I’m back on Atom.
I know this is not an Unity issue but argh…
How did you manage to make it work? I’ve tried to manually load the project into VSCode and edit the project settings and also tried to use the VSCode Unity plugin, but everytime VSCode will find the solution and won’t activate Omnisharp… The “flame” icon just keeps flashing, indicating it is loading the solution, but it never loads it… I’ve even let it running for 6 hours! to see if it managed to load but nope…
I know both projects are new, but seeing people manage to make it work gave me hope
Sorry if this is not the place for this but, please, if someone could explain how to correctly set both Unity Linux and VSCode I believe many people will be happy
Interesting, could you please share those modifications, or at list point me to what needs to be changed? Also, for some reason VSCode does not load my solution files, did you also face this problem until you changed the plugin script?
Thanks!
Thank you very much for the code. I didn’t know about [PreferenceItem], good to know that
Anyway, it seems I have a problem somewhere, as my VSCode just does not load any solution file, neither Unity’s, nor XNA nor any *.sln. I’m probably missing some dependency here, didn’t find it yet…
But thank you very much for the modified code
Load it manually, once you open the project folder, open any cs file, look at bottom left, click on “[burning icon] X projects” and select csproj to load.
Tho .sln files aren’t loadable, but they are just a collection of .csproj files anyway.
By now I believe you all think I’m dumb, and oh boy how right you are…
In short, Ubuntu has Mono version 3.12 in its repositories. I’ve forced the upgrade to the latest version (4.0.4) and that did the trick…
Sorry for making you lose time over such stupid non-unity related issue…