csharp-ls
0.20.0
dotnet tool install --global csharp-ls --version 0.20.0
dotnet new tool-manifest
dotnet tool install --local csharp-ls --version 0.20.0
#tool dotnet:?package=csharp-ls&version=0.20.0
nuke :add-package csharp-ls --version 0.20.0
Description
csharp-ls brings advanced language features like code completion, diagnostics, and refactoring to your editor for C# projects. It supports projects targeting older .NET SDK versions including .NET Core 3, .NET Framework 4.8, and potentially earlier ones.
See FEATURES.md for a more detailed discussion regarding features and customization provided with csharp-ls.
See CHANGELOG.md for the list of recent improvements/fixes.
See TROUBLESHOOTING.md for server troubleshooting and diagnostics.
csharp-ls is MIT-licensed (see LICENSE) and is provided with no warranty of any kind.
Quick Start
csharp-ls requires the .NET 9 SDK or later to be installed on your machine. Please head to Download .NET to download it.
The server can be installed as csharp-ls dotnet tool:
dotnet tool install --global csharp-ls
Once installed, your editor's LSP client should automatically detect and start
csharp-ls when opening C# project files.
Clients
csharp-ls implements the standard LSP protocol to interact with your editor.
However, there are some features that require a non-standard implementation.
This is where editor-specific plugins can be helpful.
Notable clients:
- Neovim: csharpls-extended-lsp.nvim
- Emacs: emacs/lsp-mode
- Visual Studio Code: vscode-csharp-ls @ github
Acknowledgements
- csharp-ls is not affiliated with Microsoft Corp.,
- csharp-ls uses Roslyn to parse and update code,
- csharp-ls uses the LSP interface from the Ionide.LanguageServerProtocol project,
- csharp-ls uses ILSpy/ICSharpCode.Decompiler to decompile types in assemblies to C# source.
Alternatives
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net9.0 is compatible. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
This package has no dependencies.
| Version | Downloads | Last Updated |
|---|---|---|
| 0.20.0 | 4,426 | 11/13/2025 |
| 0.19.0 | 105,452 | 8/20/2025 |
| 0.18.0 | 29,972 | 6/23/2025 |
| 0.17.0 | 19,316 | 4/30/2025 |
| 0.16.0 | 36,772 | 12/24/2024 |
| 0.15.0 | 49,696 | 8/15/2024 |
| 0.14.0 | 16,213 | 6/23/2024 |
| 0.13.0 | 17,707 | 5/8/2024 |
| 0.12.0 | 7,465 | 4/22/2024 |
| 0.11.0 | 31,346 | 1/21/2024 |
| 0.10.0 | 19,471 | 11/4/2023 |
| 0.9.0 | 18,752 | 8/12/2023 |
| 0.8.0 | 17,838 | 5/6/2023 |
| 0.7.1 | 6,599 | 4/8/2023 |
| 0.7.0 | 3,536 | 3/25/2023 |
| 0.6.1 | 6,261 | 2/26/2023 |
| 0.6.0 | 8,111 | 12/30/2022 |
| 0.5.7 | 9,170 | 10/9/2022 |
| 0.5.6 | 3,781 | 9/5/2022 |
| 0.5.5 | 3,037 | 8/23/2022 |
| 0.5.4 | 2,029 | 8/20/2022 |
| 0.5.3 | 3,806 | 7/29/2022 |
| 0.5.2 | 4,008 | 7/2/2022 |
| 0.5.1 | 4,840 | 5/19/2022 |
| 0.5.0 | 5,376 | 4/23/2022 |
| 0.4.3 | 2,815 | 4/4/2022 |
| 0.4.2 | 2,053 | 3/29/2022 |
| 0.4.1 | 1,953 | 3/23/2022 |
| 0.4.0 | 2,329 | 3/8/2022 |
| 0.3.0 | 2,657 | 2/4/2022 |
| 0.2.1 | 2,100 | 1/22/2022 |
| 0.2.0 | 2,029 | 1/17/2022 |
| 0.1.9 | 1,810 | 12/27/2021 |
| 0.1.8 | 2,055 | 12/8/2021 |
| 0.1.7 | 3,238 | 11/26/2021 |
| 0.1.6 | 1,872 | 11/9/2021 |
| 0.1.5 | 1,665 | 11/3/2021 |
| 0.1.4 | 1,795 | 10/20/2021 |
| 0.1.3 | 2,011 | 10/2/2021 |
| 0.1.2 | 2,076 | 9/14/2021 |
| 0.1.1-alpha | 1,816 | 9/11/2021 |