mirror of
https://github.com/github/awesome-copilot.git
synced 2026-04-13 19:55:56 +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)
|
## 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 |
|
| OS | Command |
|
||||||
|---------|-------------------------------------------------|
|
|---------|----------------------------------------------------------------|
|
||||||
| Any | `dotnet tool install --global csharp-ls` |
|
| Any | Requires the [.NET SDK](https://dot.net/download) installed |
|
||||||
|
|
||||||
### Config snippet
|
### Config snippet
|
||||||
|
|
||||||
```json
|
```json
|
||||||
{
|
{
|
||||||
"csharp": {
|
"csharp": {
|
||||||
"command": "csharp-ls",
|
"command": "dotnet",
|
||||||
"args": [],
|
"args": ["dnx", "roslyn-language-server", "--yes", "--prerelease", "--", "--stdio", "--autoLoadProjects"],
|
||||||
"fileExtensions": {
|
"fileExtensions": {
|
||||||
".cs": "csharp"
|
".cs": "csharp"
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user