OmniSharp / omnisharp-vim

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

Reload project #819

Closed nickspoons closed 1 year ago

nickspoons commented 1 year ago

Add new command :OmniSharpReloadProject, which asks omnisharp-roslyn to re-read a .csproj file and reload it, without requiring a full server restart.

The command can be used with no arguments from a .cs file. However, if the file is not currently recognised as being part of a project (e.g. it is a new, unlisted file in a .NET Framework project, perhaps having been added to the .csproj file by Unity) then omnisharp-roslyn will not know which project to reload. In this case the project should be reloaded by name.

The command accepts a project name as an argument, and provides completion for all of the projects included in the solution.

Closes #813