Skip to content

Implement OptionalVersionedTextDocumentIdentifier for document versions #146

Description

@genericptr

For Sublime Text we currently do a hack which sets the document version to nil while using 0 for other editors. To remove the hack I think we need to use OptionalVersionedTextDocumentIdentifier since we currently aren't using document versions (which we probably should be doing unless it crashes Sublime Text)

See

For example:

    if ClientInfo.name = TClients.SublimeTextLSP then
      TextDocumentEdit.textDocument.version := nil
    else
      TextDocumentEdit.textDocument.version := 0;

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions