struct LSP::Message::DidSave::Params
- LSP::Message::DidSave::Params
- Struct
- Value
- Object
Included Modules
- JSON::Serializable
Defined in:
lsp/message.crConstructors
- .new(pull : JSON::PullParser)
- .new(text_document : LSP::Data::TextDocumentIdentifier = Data::TextDocumentIdentifier.new, text : Nil | String = nil)
Instance Method Summary
-
#text : String | Nil
Optional the content when saved.
-
#text=(text : String | Nil)
Optional the content when saved.
- #text_document : Data::TextDocumentIdentifier
- #text_document=(text_document : Data::TextDocumentIdentifier)
Constructor Detail
def self.new(text_document : LSP::Data::TextDocumentIdentifier = Data::TextDocumentIdentifier.new, text : Nil | String = nil)
#
Instance Method Detail
def text : String | Nil
#
Optional the content when saved. Depends on the includeText value when the save notification was requested.
def text=(text : String | Nil)
#
Optional the content when saved. Depends on the includeText value when the save notification was requested.