Skip to content

C# (csharp-ls)#

Server#

For more information about the LSP server, check csharp-ls.

Installation#

This Server supports automatic install. Install this language server with M-xlsp-install-serverRETcsharp-lsRET.

Automatic by lsp-mode withdotnet tool install -g``

Debugger: Yes (netcoredbg)#

Available configurations#

lsp-csharp-csharpls-use-dotnet-tool#

Type: boolean

Default: t

Whether to use a dotnet tool version of the expected C# language server; only available for csharp-ls


lsp-csharp-csharpls-use-local-tool#

Type: boolean

Default: nil

Whether to use csharp-ls as a global or local dotnet tool.

Note: this variable has no effect if lsp-csharp-csharpls-use-dotnet-tool is nil.


lsp-csharp-omnisharp-enable-decompilation-support#

Type: boolean

Default: nil

Decompile bytecode when browsing method metadata for types in assemblies. Otherwise only declarations for the methods are visible (the default).



Last update: December 2, 2024