Skip to content

bug: can't make it work with vscode-eslint-language-serverΒ #3

@LionyxML

Description

@LionyxML

I am trying to run C-u M-x eglot RET and pass lspx --lsp "typescript-language-server --stdio" --lsp "vscode-eslint-language-server --stdio" as the server command.

I get the the typescript language server capabilities, but nothing regarding eslint.

If I try it with only lspx --lsp "vscode-eslint-language-server --stdio" it will also not work.

The *Messages* buffer gives me an eglot warning:
[eglot] (warning) Server tried to register unsupported capability `workspace/didChangeWorkspaceFolders'

On the EGLOT buffer I can see it sending / receiving requests when I save a buffer.

So I tried vscode-eslint-language-server --stdio directly after C-u M-x eglot RET and to my surprise, it also did not worked.

After a bit of digging I found this issue from 2022: joaotavora/eglot#976, which looks like exactly what is happening here (my log is similar).

It looks like this eglot never really got fixed to work with this server, as the answers either tells you to use the flymake-eslint package (non lsp) or tells you to use the eslint plugin that puts messages of eslint lsp inside typescript (now an unsupported plugin for newer versions).

Can you help me dig a bit further? It looks like a real eglot and not lspx bug, and this is a vital lsp server πŸ€•, if we can confirm I am not the only one who can't use this server with Eglot, maybe an issue to eglot might be better suited.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions