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>
This commit is contained in:
Bruno Borges
2026-04-09 12:28:56 -04:00
parent 34c9a9df20
commit 767e165d69

View File

@@ -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"
}