This follows up the [issue with mdbook notpeter mentioned](https://github.com/zed-industries/zed/pull/17864#issuecomment-2353089065) by replacing `jsonc` where used in the docs with `json`. Additionally, one missing `json` - highlight was added for the search-section. Release Notes: - N/A
26 lines
645 B
Markdown
26 lines
645 B
Markdown
# C#
|
|
|
|
Note language name is "CSharp" for settings not "C#'
|
|
|
|
C# support is available through the [C# extension](https://github.com/zed-industries/zed/tree/main/extensions/csharp).
|
|
|
|
- Tree Sitter: [tree-sitter/tree-sitter-c-sharp](https://github.com/tree-sitter/tree-sitter-c-sharp)
|
|
- Language Server: [OmniSharp/omnisharp-roslyn](https://github.com/OmniSharp/omnisharp-roslyn)
|
|
|
|
## Configuration
|
|
|
|
The `OmniSharp` binary can be configured in a Zed settings file with:
|
|
|
|
```json
|
|
{
|
|
"lsp": {
|
|
"omnisharp": {
|
|
"binary": {
|
|
"path": "/path/to/OmniSharp",
|
|
"args": ["optional", "additional", "args", "-lsp"]
|
|
}
|
|
}
|
|
}
|
|
}
|
|
```
|