class

LSP::TextDocumentItem

Inherits LSP::Initializer < JSON::Serializable < Reference < Object

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

Constructors

new(pull : JSON::PullParser)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

language_id

The text document's language identifier.

Source
language_id=(language_id : String)

The text document's language identifier.

Source
text

The content of the opened text document.

Source
text=(text : String)

The content of the opened text document.

Source
uri

The text document's URI.

Source
uri=(uri : String)

The text document's URI.

Source
version

The version number of this document (it will increase after each change, including undo/redo).

Source
version=(version : Int32)

The version number of this document (it will increase after each change, including undo/redo).

Source