Add csharp-ls language server#6205
Open
rbstp wants to merge 1 commit into
Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
csharp-ls is a lightweight F#-based language server for C#, distributed as a
dotnet toolNuGet package. It is unrelated to the deprecatedSofusA/csharp-language-serverwrapper referenced by zed-extensions/csharp#11 and zed-extensions/csharp#57 ; the upstream project markets itself as csharp-ls precisely to reduce that confusion.Existing
csharpextensionThe existing
csharpextension provides OmniSharp and Roslyn, but it does not provide csharp-ls. csharp-ls is a different language server that provides a much faster cold start and feels faster generally.The publishing guidelines say: "only create a new one if upstream is unresponsive." zed-extensions/csharp#77 (opened 2026-05-04) added csharp-ls as a third option in the existing extension and has had no maintainer engagement for 3 weeks. Submitting here as a standalone extension lets users opt into csharp-ls without further blocking on that upstream review.
Install model
The extension is detect-only, it does not bundle or auto-download the server. If
csharp-lsis not found onPATH, the extension surfaces a hint pointing at:dotnet tool install --global csharp-lsEvidence
I have been using it locally for a few weeks without any issues, and it is much snappier.
