-
Notifications
You must be signed in to change notification settings - Fork 37
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Language Server Support #59
Comments
Nice! Given the number of frontends that are using the current API, could we namespace the support under a |
Hi ! Sorry for jumping in 😊 FYI, this protocol would not conflict with your current HTTP implementation because it is based on JSON-RPC using stdin/stdout on the process. It may be another launch mode for the daemon though. This would be really nice if SourceKittenDaemon supports this. This could allow the creation of SourceKit powered IDEs on Linux! FWIW, after some investigations, maybe it would be interesting to focus all the efforts of the community on one Language Server. I mean there are already two working implementations (RLovelett/langserver-swift and owensd/swift-langsrv ) powering vs-code extensions and it was already suggested to them to focus on only one implementation. |
@Liquidsoul took a quick look and RLovelett/langserver-swift looks pretty good actually - have you had a chance to play around with it? What would |
@nathankot I've tried both of them and had my first shot with owensd/swift-langsrv which was giving better context info when run with its vscode plugin. I honestly do not know if I am just suggesting here that the creation of a Linux IDE backend should be a combined effort under one project 😃 |
Well... it could certainly be a combined effort. It depends on everyone’s will to work together. This is what I think: Counterpoint 1: competitionWouldn’t it be better to have many projects competing to be the best language server? Answer: since these are open source efforts, I don’t think there would be any strong incentives to have more usage than the other projects. Therefore, competition shouldn’t apply in this space. Counterpoint: leadershipThree projects. Unified. Sounds hard. Unless everyone is willing to yield leadership to one owner, this can’t fly. Answer: this is true. But there are many ways to make this work:
BenefitsIf this is done well, these are the things we get in exchange:
Then what?One of you guys (I’m thinking Benedikt or Nathan) could start talks with the other teams to see what they think. If you think this is a good idea, that is :) |
I'd love to deprecated the current protocol and replace it with the Microsoft Language Server:
https://github.com/Microsoft/language-server-protocol
This would buy us a lot of editor support out of the box. We already support the minimum requirements, we just need to rewrite our endpoints more or less.
The text was updated successfully, but these errors were encountered: