Use Roslyn language server directly#57
Conversation
|
Hey, this actually breaks solution loading as far as I can tell. :( SofusA's language server allowed specifying a solution, but I realize this is likely an issue to be made on the It seems I'm a little late on the draw since this is merged now, but I wanted to make some noise regardless to see if maybe something could be done in the immediate term. For context: I work with solutions where the dependencies are defined outside of the actual solution directory, and since @SofusA : It looks like you also archived your repo (and it was also used here) so I didn't have a super concrete way to mention this; but |
I am sorry to hear. Hopefully Microsoft will implement a better loading of solutions. You can use |
Thanks for the quick tip! Apologies for making a bit of a ruckus at you. I plan to make an issue on their github about it. Hopefully they do fix it, but in the meantime this is a life saver! EDIT: Letting anybody who comes across this know that you may need to edit the config for |
|
|
The Roslyn language server previously required sending private messages (
solution/open,project/open) to load projects into the language server. Since this isn't possible with the Zed extension API, we used a wrapper program (csharp-language-server) which intercepted the Roslyn language server initialization and generated these private messages automatically.Roslyn has since gained the ability to auto-load projects (using the
--autoLoadProjectsargument), socsharp-language-serveris no longer necessary (and has been deprecated). Now we download and execute Roslyn directly from the Microsoft NuGet feed.Fixes #55