Skip to content

WorkDoneProgress tokens not initialized properly by the server #325

Closed
@rchl

Description

@rchl

1.7.0 introduced progress reporting support but this doesn't work in Sublime Text for me and I'm pretty sure that's because it's not implemented correctly.

The $/progress notifications are being sent with random token that hasn't been created beforehand using the window/workDoneProgress/create request.

As far as my understanding of the spec goes, the token used in $/progress notification has to be first explicitly created by the server. Refer to https://microsoft.github.io/language-server-protocol/specifications/lsp/3.17/specification/#initiatingWorkDoneProgress and https://microsoft.github.io/language-server-protocol/specifications/lsp/3.17/specification/#serverInitiatedProgress.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions