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.

Fields

title:String

Title of the command, like save.

command:String

The identifier of the actual command handler.

@:optionaloptionalarguments:Null<Array<LSPAny>>

Arguments that the command handler should be invoked with.