OmniSharp / omnisharp-vim

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

Omnisharp locating project.json instead of sln file #776

Closed gschuager closed 2 years ago

gschuager commented 2 years ago

I am trying out the plugin in a NX monorepo, which uses a project.json file (completely unrelated to .NET) in each project folder, so these get loaded instead of the solution file at the root of the project and nothing works.

Is there a way to tell omnisharp-vim to skip looking for project.json files?

gschuager commented 2 years ago

I didn't find a way to do this, so I created #777 to allow disabling the unintended behavior.

nickspoons commented 2 years ago

I think we can probably actually just drop that search for project.json files altogether. Aren't they totally obsolete now? I don't think they ever became mainstream enough to be worth keeping the legacy code for.

gschuager commented 2 years ago

That makes sense. I updated the PR.

nickspoons commented 2 years ago

Thanks!