ionide / ionide-vscode-fsharp

VS Code plugin for F# development
http://ionide.io
MIT License
859 stars 278 forks source link

Only Load .fsproj files by default #1886

Open jkone27 opened 1 year ago

jkone27 commented 1 year ago

i would love if ionide wouldnt load all csproj files, many times i have big C# solutions, and i am trying to add some testing in F#, i don't want ionide to load and parse also all csproj files, should we maybe provide a way to opt out from ionide settings? to not parse .csproj ?

baronfel commented 1 year ago

I think parsing csproj references is necessary to enable go-to-definition from C# projects, as well as detecting things like cross-language reference finding. Ideally the C# extension for VSCode and Ionide could share some kind of project system - and for VSCode specifically we might be able to do such a thing - that would prevent duplicate loading.

If we were able to share this data, though, we'd still need to keep our own project system around for use on non-VSCode editors that aren't licensed for use of the Microsoft Project System.