struct LSP::TextDocumentItem
- LSP::TextDocumentItem
- Struct
- Value
- Object
Included Modules
- JSON::Serializable
Defined in:
lsp/protocol/text_document_item.crConstructors
- .new(uri : String, version : Int64, language_id : String, text : String)
- .new(pull : JSON::PullParser)
Instance Method Summary
-
#language_id : String
The text document's language identifier.
-
#language_id=(language_id : String)
The text document's language identifier.
-
#path
Returns the path of the URI
-
#text : String
The content of the opened text document.
-
#text=(text : String)
The content of the opened text document.
-
#uri : String
The text document's URI.
-
#uri=(uri : String)
The text document's URI.
-
#version : Int64
The version number of this document (it will increase after each change, including undo/redo).
-
#version=(version : Int64)
The version number of this document (it will increase after each change, including undo/redo).
Constructor Detail
Instance Method Detail
def version : Int64
#
The version number of this document (it will increase after each change, including undo/redo).
def version=(version : Int64)
#
The version number of this document (it will increase after each change, including undo/redo).