-
-
Notifications
You must be signed in to change notification settings - Fork 911
Fix wrong javascript-typescript-langserver in lsp-clients. #509
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
Conversation
Thanks! |
Actually, I was testing with https://github.com/theia-ide/typescript-language-server . From what I can see, it works better than javascript-typescript-langserver . Better completion, code actions, and so on. |
@shackra do you have some experience with testing any of javascript-typescript-langserver and https://github.com/theia-ide/typescript-language-server ? |
Hi, I just realized you had wanted to use I used I found some discussions for Eclipse plugin: eclipse-wildwebdeveloper/wildwebdeveloper#22. It happend one year ago. They decided to stay with
I tried both PS: @yyoncho, one question, after customizing the server and args for langserver, I have to restart Emacs to enable it. |
I do not use JS/TS either. @cmatzenbach @shackra what do you think? Based on my short trial typescript-language-server was better since it was navigating properly to definitions in
It was typo - 1954390 |
Thank you for 1954390. |
I, uh, used to work with the former (for two months straight) but after the update I just use the latter and indeed it provides better completion |
@shackra or @seagle0128 Interesting - I want to try out that other server. How do you switch out the default servers with the new configuration? Would one of you mind posting your elisp snippet? I, for whatever reason, can't get it pointed to the new one |
npm install -g typescript-language-server |
@yyoncho reply should be enough @cmatzenbach , but if you are interested my configuration for Javascript is here https://github.com/shackra/emacs#paquetes-para-editar-javascript |
Hi @cmatzenbach, |
Hi folks, Did you have the final decision? I tried both recently, and seems |
@seagle0128 We may have 2 LS configurations and set the one with typescript-language-server with higher priority so it will be preferred if both are present. |
Cool! Sounds great. Thank you! |
Sorry for the late reply. I've tested and used both extensively at work since the replies above - for now, typescript-language-server seems to be a bit less buggy and more intelligent. They both do some things the other doesn't, and each have their share of bugs, but I do slightly prefer that one. As of now, @seagle0128 is right and typescript-language-server is a bit more polished and should be the default. |
The new langserver has no
--stdio
while providingjavascript-typescript-stdio
.And the name is
javascript-typescript-langserver
while nottypescript-language-server
.