-
Notifications
You must be signed in to change notification settings - Fork 200
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
javascript-typescript-stdio is deprecated #566
Comments
kouhin <[email protected]> writes:
`javascript-typescript-langserver` is no longer maintained, see
https://github.com/sourcegraph/javascript-typescript-langserver
Same thing for haskel-ide-engine:
https://lists.gnu.org/archive/html/emacs-devel/2020-11/msg00379.html
And for php: #537
I wonder how these issues may be solved. Changing entry in the
eglot-server-programs variable will work for those new users who
installed new language server but will break setup for existing users
who uses old language server. Maybe multiple entries in
eglot-server-programs (#90) is
the way to go?
|
Using the suggested typescript-language-server I got the following error, looking at the JSON serialize function it includes both
|
The default value can be overridden using following snippet and works really nice.
For the above code to work, you must install
Yes. I install all the dev-tools globally.
|
I'm using that one as well. Feel free to make a pull request. |
I tested a bit and pushed a commit that does this. |
Since #566 switched to using typescript-language-server as the default JavaScript LSP, the javascript-basic test should also use it. * eglot-tests.el (javascript-basic): Switch the LSP server from javascript-typescript-stdio to typescript-language-server. Copyright-paperwork-exempt: yes
* README.md (Connecting to a server): Prefer typescript-language-server. * eglot.el (eglot-server-programs): Use typescript-language-server.
* README.md (Connecting to a server): Prefer typescript-language-server. * eglot.el (eglot-server-programs): Use typescript-language-server.
* README.md (Connecting to a server): Prefer typescript-language-server. * eglot.el (eglot-server-programs): Use typescript-language-server. #566: joaotavora/eglot#566
* README.md (Connecting to a server): Prefer typescript-language-server. * eglot.el (eglot-server-programs): Use typescript-language-server. GitHub-reference: close joaotavora/eglot#566
javascript-typescript-langserver
is no longer maintained, see https://github.com/sourcegraph/javascript-typescript-langserverTheia's TypeScript language server may be a better choice.
The text was updated successfully, but these errors were encountered: