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

An item to transfer a text document from the client to the server.

Link to this section Summary

Functions

Fields

  • uri: The text document's uri.
  • language_id: The text document's language identifier.
  • version: The version number of this document (it will increase after each change, including undo/redo).
  • text: The content of the opened text document.

Link to this section Types

@type t() :: %GenLSP.Structures.TextDocumentItem{
  language_id: String.t(),
  text: String.t(),
  uri: GenLSP.BaseTypes.document_uri(),
  version: integer()
}

Link to this section Functions

Link to this function

%GenLSP.Structures.TextDocumentItem{}

View Source (struct)

fields

Fields

  • uri: The text document's uri.
  • language_id: The text document's language identifier.
  • version: The version number of this document (it will increase after each change, including undo/redo).
  • text: The content of the opened text document.