mirror of
https://github.com/github/awesome-copilot.git
synced 2026-04-11 02:35:55 +00:00
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:
@@ -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"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user