I'm having a lot of problems trying to get proper autocompletion and such working using Omnisharp on Linux.
According to the [documentation about Visual Studio integration,][1] unity is supposed to create the appropriate files itself(and maintain their contents). This just doesn't happen for me at all. There is an entry under assets called "Open C# project", but this does not do anything at all for me. I should probably note that the editor is configured properly and opening any other code file is just fine.
I got limited success creating the files using the horrible `dotnet` tool and adding the unity and unityengine packages, but now that I'm trying to use `UnityEngine.UI.Canvas`, omnisharp doesn't seem to know about this module.
There are also some strange discrepancies I can't quite figure out, such as omnisharp thinking that `LineRenderer` doesn't have the `SetPositions` method or the `startWidth` and `endWidth` properties.
What is a reliable way to create unity projects on linux that work with omnisharp? Why is unity not creating the files as it should? Why doesn't "Open C# Project" do anything?
[1]: https://docs.unity3d.com/Manual/VisualStudioIntegration.html
↧