class LSProtocol::InlayHintRegistrationOptions
- LSProtocol::InlayHintRegistrationOptions
- Reference
- Object
Overview
Inlay hint options used during static or dynamic registration.
@since 3.17.0
Included Modules
- JSON::Serializable
Defined in:
lsprotocol/types.crConstructors
- .new(pull : JSON::PullParser)
- .new(document_selector : DocumentSelector | Nil, id : String | Nil = nil, resolve_provider : Bool | 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.
-
#id : String | Nil
The id used to register the request.
-
#resolve_provider : Bool | Nil
The server provides support to resolve additional information for an inlay hint item.
- #work_done_progress : Bool | Nil
Constructor Detail
def self.new(document_selector : DocumentSelector | Nil, id : String | Nil = nil, resolve_provider : Bool | 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 id : String | Nil
#
The id used to register the request. The id can be used to deregister the request again. See also Registration#id.
def resolve_provider : Bool | Nil
#
The server provides support to resolve additional information for an inlay hint item.