struct

LSP::TextDocumentItem

Inherits JSON::Serializable < Struct < Value < Object

Constructors

new(uri : String, version : Int64, language_id : String, text : String)
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
path

Returns the path of the URI

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 : Int64)

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

Source