Skip to content

Possibly misleading statement about Message ordering #1693

@Techatrix

Description

@Techatrix

The Specification has the following to say about Message ordering:

For example, reordering the result of textDocument/completion and textDocument/signatureHelp is allowed, as each of these requests usually won’t affect the output of the other. On the other hand, the server most likely should not reorder textDocument/definition and textDocument/rename requests, since executing the latter may affect the result of the former.

I understand that a completion and signature request do not affect each other, but why doesn't the same apply to a definition and rename request? This seems to suggest that a rename request orders the server to compute and apply a rename. Usually this request is followed by a didChange that actually performs the edit.

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