Home

Awesome

csharp-ls

Visual Studio Code C# LSP client for csharp-language-server.

Why?

Visual Studio Code already has a great extension for C#. It works very well in most cases and probably you should try it first. But on big monorepos it takes way too long to initialize or to respond to any commands. In that case csharp-ls comes to the rescue.

Features

See csharp-language-server Features

Requirements

This extension requires that the .NET 8 (or greater) SDK be installed and on path for Visual Studio Code.

Usage

If opened folder contains single Solution (.sln) file the language server will be launched automatically. In case you have more than one solution files then on first launch you should see prompt asking which solution file to use. Later solution can be changed with command csharp-ls: Select solution or project.

Extension Settings

This extension contributes the following settings: