OmniSharp / omnisharp-vim

Vim omnicompletion (intellisense) and more for C#
http://www.omnisharp.net
MIT License
1.7k stars 169 forks source link

Completion and linting not working in an unity project #725

Closed AndrGutierrez closed 3 years ago

AndrGutierrez commented 3 years ago

I use ALE for linting and when I open my script this appears

csharp CS0246] [E] The type or namespace name 'UnityEngine' could not be found (are you missing a using directive or an 
assembly reference?)

completion with coc-omnisharp works but I don't get the completion for unity imports like Rigidbody2D for example

I know this is a common problem but I haven't found a solution yet

OS: arch linux Editor: neovim

nickspoons commented 3 years ago

Have you looked at the other Unity issues? The most recent is #707 and it looked like the solution there worked.

I suspect this is a duplicate.