class LSProtocol::RenameClientCapabilities

Included Modules

Defined in:

lsprotocol/types.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]
def self.new(dynamic_registration : Bool | Nil = nil, honors_change_annotations : Bool | Nil = nil, prepare_support : Bool | Nil = nil, prepare_support_default_behavior : PrepareSupportDefaultBehavior | Nil = nil) #

[View source]

Instance Method Detail

def dynamic_registration : Bool | Nil #

Whether rename supports dynamic registration.


[View source]
def honors_change_annotations : Bool | Nil #

Whether the client honors the change annotations in text edits and resource operations returned via the rename request's workspace edit by for example presenting the workspace edit in the user interface and asking for confirmation.

@since 3.16.0


[View source]
def prepare_support : Bool | Nil #

Client supports testing for validity of rename operations before execution.

@since 3.12.0


[View source]
def prepare_support_default_behavior : PrepareSupportDefaultBehavior | Nil #

Client supports the default behavior result.

The value indicates the default behavior used by the client.

@since 3.16.0


[View source]