Skip to content

Consider exposing the restartTimes to LanaguageClientOptions #418

@hokein

Description

@hokein

The languageclient restarts LSP server 5 times if LSP server crashes. The restart time is hard-coded in https://github.com/Microsoft/vscode-languageserver-node/blob/master/client/src/client.ts#L272.

Can we expose it as an option like restartTimes in LanguageClientOptions, so that LSP extension can customize it? I know LSP extension can provide their custom ErrorHandler to adjust the restart times, but I think it is still sensible to provide such option.

Metadata

Metadata

Assignees

No one assigned

    Labels

    *out-of-scopePosted issue is not in scope of VS Codegood first issuehelp wantedIssues identified as good community contribution opportunities

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions