class LSProtocol::SignatureHelpRegistrationOptions
- LSProtocol::SignatureHelpRegistrationOptions
- Reference
- Object
Overview
Registration options for a SignatureHelpRequest
.
Included Modules
- JSON::Serializable
Defined in:
lsprotocol/types.crConstructors
- .new(pull : JSON::PullParser)
- .new(document_selector : DocumentSelector | Nil, retrigger_characters : Array(String) | Nil = nil, trigger_characters : Array(String) | Nil = nil, work_done_progress : Bool | Nil = nil)
Instance Method Summary
-
#document_selector : DocumentSelector | Nil
A document selector to identify the scope of the registration.
-
#retrigger_characters : Array(String) | Nil
List of characters that re-trigger signature help.
-
#trigger_characters : Array(String) | Nil
List of characters that trigger signature help automatically.
- #work_done_progress : Bool | Nil
Constructor Detail
def self.new(document_selector : DocumentSelector | Nil, retrigger_characters : Array(String) | Nil = nil, trigger_characters : Array(String) | Nil = nil, work_done_progress : Bool | Nil = nil)
#
Instance Method Detail
def document_selector : DocumentSelector | Nil
#
A document selector to identify the scope of the registration. If set to null the document selector provided on the client side will be used.
def retrigger_characters : Array(String) | Nil
#
List of characters that re-trigger signature help.
These trigger characters are only active when signature help is already showing. All trigger characters are also counted as re-trigger characters.
@since 3.15.0
def trigger_characters : Array(String) | Nil
#
List of characters that trigger signature help automatically.