LSProtocol::Command
Inherits JSON::Serializable / Reference / Object
Represents a reference to a command. Provides a title which will be used to represent a command in the UI and, optionally, an array of arguments which will be passed to the command handler function when invoked.
Constructors
new(command : String | Nil, title : String | Nil, arguments : Array(LSPAny) | Nil = nil, tooltip : String | Nil = nil)
Sourcenew(pull : JSON::PullParser)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
Source