fsharp-language-server
fsharp-language-server copied to clipboard
Add setting to specify solution
Thanks a lot for working on this! I've checked out the new extension and looks good :)
Some of my repos contain multiple solutions but most frequently I'm only working with one of them at a time, so I'd prefer the extension doesn't try to parse files not needed. It'd be nice to have an option to select the solution instead of rely always on auto-detection. I gave it a quick try here but it didn't seem to work properly, probably because of conflicts with the auto detection, I need to check again: https://github.com/alfonsogarciacaro/fsharp-language-server/commit/93679b21750dc566c9b15af5c17a6e7dcb7986d2
I can take a look at this sometime soon Looking at your changes, it certainly looks like that's all you should need to do Maybe also check this
member this.NewProjectFile(fsprojOrFsx: FileInfo) =
knownProjects.Add(fsprojOrFsx.FullName) |> ignore
invalidateDescendents(fsprojOrFsx)
Isn't adding projects that are out of your solution. Other than that I can't immediately see where your version would be getting projects outside the solution from.
I can just ad a bunch more logging to the system and it should reveal all. Now that i have multilevel logging and logfiles and such