class LSProtocol::SignatureHelpParams
- LSProtocol::SignatureHelpParams
- Reference
- Object
Overview
Parameters for a SignatureHelpRequest
.
Included Modules
- JSON::Serializable
Defined in:
lsprotocol/types.crConstructors
- .new(position : Position | Nil, text_document : TextDocumentIdentifier | Nil, context : SignatureHelpContext | Nil = nil, work_done_token : ProgressToken | Nil = nil)
- .new(pull : JSON::PullParser)
Instance Method Summary
-
#context : SignatureHelpContext | Nil
The signature help context.
-
#position : Position
The position inside the text document.
- #text_document : TextDocumentIdentifier
- #work_done_token : ProgressToken | Nil
Constructor Detail
def self.new(position : Position | Nil, text_document : TextDocumentIdentifier | Nil, context : SignatureHelpContext | Nil = nil, work_done_token : ProgressToken | Nil = nil)
#
Instance Method Detail
def context : SignatureHelpContext | Nil
#
The signature help context. This is only available if the client specifies
to send this using the client capability textDocument.signatureHelp.contextSupport === true
@since 3.15.0