LSP::Data::Command
Inherits JSON::Serializable < Struct < Value < Object
Represents a reference to a command. Provides a title which will be used to represent a command in the UI. Commands are identified by a string identifier. The protocol currently doesn't specify a set of well-known commands. So executing a command requires some tool extension code.
Constructors
new(pull : JSON::PullParser)
Sourcenew(title : String = "", command : String = "", arguments : Array(JSON::Any) = [] of JSON::Any)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
arguments=(arguments : Array(JSON::Any))
Arguments that the command handler should be invoked with.