class LSProtocol::CodeActionParams
- LSProtocol::CodeActionParams
- Reference
- Object
Overview
The parameters of a CodeActionRequest
.
Included Modules
- JSON::Serializable
Defined in:
lsprotocol/types.crConstructors
- .new(context : CodeActionContext | Nil, range : Range | Nil, text_document : TextDocumentIdentifier | Nil, partial_result_token : ProgressToken | Nil = nil, work_done_token : ProgressToken | Nil = nil)
- .new(pull : JSON::PullParser)
Instance Method Summary
-
#context : CodeActionContext
Context carrying additional information.
- #partial_result_token : ProgressToken | Nil
-
#range : Range
The range for which the command was invoked.
- #text_document : TextDocumentIdentifier
- #work_done_token : ProgressToken | Nil
Constructor Detail
def self.new(context : CodeActionContext | Nil, range : Range | Nil, text_document : TextDocumentIdentifier | Nil, partial_result_token : ProgressToken | Nil = nil, work_done_token : ProgressToken | Nil = nil)
#