View Source GenLSP.Structures.OptionalVersionedTextDocumentIdentifier (gen_lsp v0.10.0)

A text document identifier to optionally denote a specific version of a text document.

Link to this section Summary

Functions

Fields

  • version: The version number of this document. If a versioned text document identifier is sent from the server to the client and the file is not open in the editor (the server has not received an open notification before) the server can send null to indicate that the version is unknown and the content on disk is the truth (as specified with document content ownership).
  • uri: The text document's uri.

Link to this section Types

@type t() :: %GenLSP.Structures.OptionalVersionedTextDocumentIdentifier{
  uri: GenLSP.BaseTypes.document_uri(),
  version: integer() | nil
}

Link to this section Functions

Link to this function

%GenLSP.Structures.OptionalVersionedTextDocumentIdentifier{}

View Source (struct)

fields

Fields

  • version: The version number of this document. If a versioned text document identifier is sent from the server to the client and the file is not open in the editor (the server has not received an open notification before) the server can send null to indicate that the version is unknown and the content on disk is the truth (as specified with document content ownership).
  • uri: The text document's uri.