GNU bug report logs -
#60089
29.0.60; eglot doesn't support csharp-ls language server [PATCH]
Previous Next
Reported by: Jostein Kjønigsen <jostein <at> secure.kjonigsen.net>
Date: Thu, 15 Dec 2022 13:02:02 UTC
Severity: normal
Tags: patch
Found in version 29.0.60
Fixed in version 29.1
Done: Stefan Kangas <stefankangas <at> gmail.com>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
On 15 Dec 2022, at 22:28, Stefan Kangas <stefankangas <at> gmail.com> wrote:
>
> Jostein Kjønigsen <jostein <at> secure.kjonigsen.net> writes:
>
>> Right now eglot only knows about the Omnisharp Roslyn language server
>> for C#.
>>
>> csharp-ls[1] is another popular language server and is supported by
>> other LSP-clients, like lsp-mode.
>>
>> Eglot should support it too.
>>
>> Attached is a patch which introduces support for this language-server.
>>
>> [1] https://github.com/razzmatazz/csharp-language-server
>
> Could you give a rationale for why we should prefer omnisharp over
> csharp-ls? Why not the other way around?
>
> (I know nothing about C#.)
As far as presedence go, I have no personal preference here.
I myself use csharp-ls, because it’s faster, but it’s newer with less lineage and only aims to support new “.net core” type projects.
Omnisharp is not as fast, but has been around for a longer time and officially also supports “legacy”-style .net framework projects.
As such it probably make sense to present Omnisharp as the default, since it offers the highest compatibility guarantees regardless of target code-base.
—
Jostein Kjønigsen
https://jostein.kjønigsen.net
This bug report was last modified 2 years and 156 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.