OmniSharp / omnisharp-vim

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

Omnisharp does not update classes after folder insertion in the solution folder #783

Closed ebiscaia closed 2 years ago

ebiscaia commented 2 years ago

Unfortunately the title is not the best and I hope I can be more clear here.

I was doing an assignment for university in C# and started typing. However, I realized I forgot to add my tutors framework inside the project and because of that his functions started to point errors. After copying his folder the errors were still there. Opening the file again, the errors were gone. Other things that I tried and no results were obtained:

If I do the same thing on VSCode (I use it for debugging), the errors disappear straight away.

Thanks,

Eduardo

nickspoons commented 2 years ago

If you make a change to a project then you'll need to restart the server. VSCode does some of this automatically using file watchers but we don't.

Just restart the server with :OmniSharpRestartServer