class LSP::DocumentFormattingRequest
- LSP::DocumentFormattingRequest
- LSP::RequestMessage(Array(LSP::TextEdit)?)
- Reference
- Object
Overview
The document formatting request is sent from the client to the server to format a whole document.
Included Modules
Defined in:
requests/language_features/formatting.crConstructors
-
.new(pull : JSON::PullParser)
The document formatting request is sent from the client to the server to format a whole document.
- .new(**args)
Instance Method Summary
Instance methods inherited from class LSP::RequestMessage(Array(LSP::TextEdit)?)
id : RequestId
id,
id=(id : RequestId)
id=,
method : String
method,
method=(method : String)
method=,
on_response(raw : JSON::Any?, e : ResponseError?)on_response(&block : Proc(Result(LSP::TextEdit)??, ResponseError?, Nil)) on_response, on_response? : Proc(Result(LSP::TextEdit)??, ResponseError?, Nil)? on_response?
Constructor methods inherited from class LSP::RequestMessage(Array(LSP::TextEdit)?)
new(pull : JSON::PullParser)new(**args) new
Constructor Detail
def self.new(pull : JSON::PullParser)
#
The document formatting request is sent from the client to the server to format a whole document.