Skip to content

Commit 767e165

Browse files
brunoborgesCopilot
andcommitted
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>
1 parent 34c9a9d commit 767e165

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

skills/lsp-setup/references/lsp-servers.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -209,21 +209,21 @@ On macOS with Homebrew, the binary is installed as `jdtls` on `$PATH`.
209209

210210
## C# (.NET)
211211

212-
**Server**: [OmniSharp](https://github.com/OmniSharp/omnisharp-roslyn) or [csharp-ls](https://github.com/razzmatazz/csharp-language-server)
212+
**Server**: [Roslyn Language Server](https://github.com/dotnet/roslyn) (via `dotnet dnx`)
213213

214-
### Install (csharp-ls)
214+
### Install
215215

216-
| OS | Command |
217-
|---------|-------------------------------------------------|
218-
| Any | `dotnet tool install --global csharp-ls` |
216+
| OS | Command |
217+
|---------|----------------------------------------------------------------|
218+
| Any | Requires the [.NET SDK](https://dot.net/download) installed |
219219

220220
### Config snippet
221221

222222
```json
223223
{
224224
"csharp": {
225-
"command": "csharp-ls",
226-
"args": [],
225+
"command": "dotnet",
226+
"args": ["dnx", "roslyn-language-server", "--yes", "--prerelease", "--", "--stdio", "--autoLoadProjects"],
227227
"fileExtensions": {
228228
".cs": "csharp"
229229
}

0 commit comments

Comments
 (0)