struct LSP::CodeActionOptions

Overview

Code Action options.

Included Modules

Defined in:

lsp/protocol/code_action_options.cr

Constructors

Instance Method Summary

Constructor Detail

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

[View source]
def self.new(code_action_kinds : Array(String)) #

[View source]

Instance Method Detail

def code_action_kinds : Array(String) #

CodeActionKinds that this server may return.

The list of kinds may be generic, such as CodeActionKind.Refactor, or the server may list out every specific kind they provide.


[View source]
def code_action_kinds=(code_action_kinds : Array(String)) #

CodeActionKinds that this server may return.

The list of kinds may be generic, such as CodeActionKind.Refactor, or the server may list out every specific kind they provide.


[View source]