Skip to content

Opening a reference document sends a textDocument/didClose notification to LSP instead of textDocument/didOpen #1278

@ahoppen

Description

@ahoppen

When opening a URL scheme whose content is provided by a workspace/getReferenceDocument request from SourceKit-LSP, VS Code will send a textDocument/didClose request to SourceKit-LSP instead of a textDocument/didOpen. Closing the document sends another textDocument/didClose notification.

Steps to reproduce:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions