C#
Note language name is "CSharp" for settings not "C#'
C# support is available through the C# extension.
- Tree Sitter: tree-sitter/tree-sitter-c-sharp
- Language Server: OmniSharp/omnisharp-roslyn
Configuration
The OmniSharp
binary can be configured in a Zed settings file with:
{
"lsp": {
"omnisharp": {
"binary": {
"path": "/path/to/OmniSharp",
"arguments": ["optional", "additional", "args", "-lsp"]
}
}
}
}
If you want to disable Zed looking for a omnisharp
binary, you can set ignore_system_version
to true
:
{
"lsp": {
"omnisharp": {
"binary": {
"ignore_system_version": true
}
}
}
}