Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
docs: Add csharp-ls to C# docs (#59028)
Vlad Ionescu70bb09eeaafe
diff --git a/docs/src/languages/csharp.md b/docs/src/languages/csharp.mdindex 5f046ed2047..1742def73b2 100644--- a/docs/src/languages/csharp.md+++ b/docs/src/languages/csharp.md@@ -10,15 +10,16 @@ C# support is available through the [C# extension](https://github.com/zed-extens- Tree-sitter: [tree-sitter/tree-sitter-c-sharp](https://github.com/tree-sitter/tree-sitter-c-sharp)- Language Servers:- [roslyn-language-server](https://www.nuget.org/packages/roslyn-language-server#readme)+ - [csharp-ls](https://github.com/razzmatazz/csharp-language-server)- [OmniSharp/omnisharp-roslyn](https://github.com/OmniSharp/omnisharp-roslyn)-Roslyn is enabled by default. To switch back to OmniSharp, add the following to your Zed settings file:+Roslyn is enabled by default. To switch to csharp-ls or OmniSharp, add the following to your Zed settings file:```json [settings]{"languages": {"CSharp": {- "language_servers": ["omnisharp", "!roslyn", "..."]+ "language_servers": ["csharp-ls", "!roslyn", "!omnisharp", "..."]}}}@@ -114,6 +115,37 @@ Roslyn can be configured with the following language server settings:}```+csharp-ls can be configured in a Zed settings file with:++```json [settings]+{+ "lsp": {+ "csharp-ls": {+ "binary": {+ "path": "/path/to/csharp-ls",+ "arguments": [+ /* add extra arguments */+ ]+ },+ "settings": {+ // Default values are shown below.+ "logLevel": "information",+ "applyFormattingOptions": false,+ "analyzersEnabled": false,+ "useMetadataUris": true,+ "razorSupport": false,+ "solutionPathOverride": null,+ "locale": null,+ "debug": {+ "debugMode": false,+ "solutionLoadDelay": null+ }+ }+ }+ }+}+```+OmniSharp can be configured in a Zed settings file with:```json [settings]