use roslyn and csharp-ls for c#
This commit is contained in:
parent
096f0c0913
commit
6d9164f6d2
1 changed files with 10 additions and 2 deletions
|
|
@ -1,6 +1,10 @@
|
||||||
[language-server.csharp-ls]
|
[language-server.csharp-ls]
|
||||||
command = "csharp-ls"
|
command = "csharp-ls"
|
||||||
|
|
||||||
|
[language-server.roslyn]
|
||||||
|
command = "roslyn-language-server"
|
||||||
|
args = ["--stdio", "--autoLoadProjects"]
|
||||||
|
|
||||||
[language-server.tsgo]
|
[language-server.tsgo]
|
||||||
command = "tsgo"
|
command = "tsgo"
|
||||||
args = ["--lsp", "--stdio"]
|
args = ["--lsp", "--stdio"]
|
||||||
|
|
@ -16,8 +20,12 @@ args = [
|
||||||
[[language]]
|
[[language]]
|
||||||
name = "c-sharp"
|
name = "c-sharp"
|
||||||
scope = "source.cs"
|
scope = "source.cs"
|
||||||
roots = ["*.slnx", "*.sln", "*.csproj"]
|
file-types = ["cs", "csx", "cake"]
|
||||||
language-servers = ["csharp-ls"]
|
roots = ["Directory.Build.props", ".git"]
|
||||||
|
language-servers = [
|
||||||
|
{ name = "roslyn", except-features = ["diagnostics"] },
|
||||||
|
{ name = "csharp-ls", only-features = ["diagnostics"] }
|
||||||
|
]
|
||||||
|
|
||||||
[[language]]
|
[[language]]
|
||||||
name = "typescript"
|
name = "typescript"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue