Skip to content

Does not handle temporary disconnection in TRAMP well #114

@peterbecich

Description

@peterbecich

Describe the bug
In a TRAMP session, if the connection is temporarily broken, lsp-metals does not reconnect. This error will repeatedly print in the minibuffer:

LSP :: Sending to process failed with the following error: Process metals-tramp not running: killed: 9

To Reproduce

Expected behavior
Lsp-metals should restart the metals binary.

Screenshots
If applicable, add screenshots to help explain your problem.

Logs
Please include the debug stack trace (if there is an error) and the content of Messages buffer with lsp-print-io set to t in case the bug is related to client->server communication.

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