Skip to content

C# (Omnisharp-Roslyn)#

Server#

For more information about the LSP server, check OmniSharp-Roslyn.

Installation#

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

Supports automatic installation.

Debugger: Yes (netcoredbg)#

Available configurations#

lsp-csharp-omnisharp-roslyn-binary-path#

Type: file

Default: ~/.emacs.d/.cache/lsp/omnisharp-roslyn/latest/OmniSharp

The path where omnisharp-roslyn binary after will be stored.


lsp-csharp-omnisharp-roslyn-download-url#

Type: string

Default: https://github.com/omnisharp/omnisharp-roslyn/releases/latest/download/omnisharp-linux-x64-net6.0.zip

Automatic download url for omnisharp-roslyn.


lsp-csharp-omnisharp-roslyn-server-dir#

Type: file

Default: ~/.emacs.d/.cache/lsp/omnisharp-roslyn/latest/omnisharp-roslyn

The path where omnisharp-roslyn .zip archive will be extracted.


lsp-csharp-omnisharp-roslyn-store-path#

Type: file

Default: ~/.emacs.d/.cache/lsp/omnisharp-roslyn/latest/omnisharp-roslyn.zip

The path where omnisharp-roslyn .zip archive will be stored.


lsp-csharp-server-install-dir#

Type: directory

Default: ~/.emacs.d/.cache/lsp/omnisharp-roslyn/

Installation directory for OmniSharp Roslyn server.


lsp-csharp-server-path#

Type: (string :tag Single string value or nil)

Default: nil

The path to the OmniSharp Roslyn language-server binary. Set this if you have the binary installed or have it built yourself.


lsp-csharp-solution-file#

Type: string

Default: nil

Solution to load when starting the server. Usually this is to be set in your .dir-locals.el on the project root directory.


lsp-csharp-test-run-buffer-name#

Type: string

Default: *lsp-csharp test run*

The name of buffer used for outputting lsp-csharp test run results.



Last update: May 3, 2024