From 767e165d697a5d04f4c35ce21eb734a4805e77f4 Mon Sep 17 00:00:00 2001 From: Bruno Borges Date: Thu, 9 Apr 2026 12:28:56 -0400 Subject: [PATCH] fix: use roslyn-language-server for .NET LSP config Replace csharp-ls/OmniSharp with roslyn-language-server in the .NET section, matching the official dotnet/skills reference configuration. Addresses review feedback from @aaronpowell in PR #1272. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- skills/lsp-setup/references/lsp-servers.md | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/skills/lsp-setup/references/lsp-servers.md b/skills/lsp-setup/references/lsp-servers.md index 26411ac6..44caa696 100644 --- a/skills/lsp-setup/references/lsp-servers.md +++ b/skills/lsp-setup/references/lsp-servers.md @@ -209,21 +209,21 @@ On macOS with Homebrew, the binary is installed as `jdtls` on `$PATH`. ## C# (.NET) -**Server**: [OmniSharp](https://github.com/OmniSharp/omnisharp-roslyn) or [csharp-ls](https://github.com/razzmatazz/csharp-language-server) +**Server**: [Roslyn Language Server](https://github.com/dotnet/roslyn) (via `dotnet dnx`) -### Install (csharp-ls) +### Install -| OS | Command | -|---------|-------------------------------------------------| -| Any | `dotnet tool install --global csharp-ls` | +| OS | Command | +|---------|----------------------------------------------------------------| +| Any | Requires the [.NET SDK](https://dot.net/download) installed | ### Config snippet ```json { "csharp": { - "command": "csharp-ls", - "args": [], + "command": "dotnet", + "args": ["dnx", "roslyn-language-server", "--yes", "--prerelease", "--", "--stdio", "--autoLoadProjects"], "fileExtensions": { ".cs": "csharp" }