Skip to content

Typescript lang server forces didOpenTextDocument call before answering LSP requests  #636

Closed as not planned
@yuval-piiano

Description

@yuval-piiano

in https://microsoft.github.io/language-server-protocol/specifications/lsp/3.17/specification/#textDocument_didOpen
" Note that a server’s ability to fulfill requests is independent of whether a text document is open or closed. "
But in the code, documentSymbol for example doesn't work for unopened files .
JDT ls (Java language server) and pyright (Python's) do work without having to open the files prior to sending documentSymbol,

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