Static contextStatic Private currentStatic Private lastStatic newStatic Private recursiveStatic ActiveStatic ActiveStatic CurrentStatic CursorStatic DocumentStatic EditorStatic ExecuteIdentifier of the command to execute.
Rest ...rest: any[]Parameters passed to the command function.
A thenable that resolves to the returned value of the given command. Returns undefined when
the command handler function doesn't return anything.
Static FileStatic LangStatic LanguageStatic LastStatic LineStatic LineStatic PositionStatic RegisterRegisters a command that can be invoked via a keyboard shortcut, a menu item, an action, or directly.
Registering a command with an existing command identifier twice will cause an error.
A unique identifier for the command.
A command handler function.
Rest ...args: any[]Optional thisArg: anyThe this context used when invoking the handler function.
Disposable which unregisters this command on disposal.
Static SchemeStatic SelectedStatic SelectionStatic SelectionStatic TextStatic TextStatic UriStatic WindowStatic WspaceStatic getRetrieve the list of all available commands. Commands starting with an underscore are treated as internal commands.
Optional filterInternal: booleanSet true to not see internal commands (starting with an underscore)
Thenable that resolves to a list of command ids.
Static vscStatic ExtStatic LineStatic _Static _Static _Static _Static _Static _Static _Static _Static _VSCodeStatic _Static _Static getStatic getStatic isStatic isStatic isStatic setStatic setGenerated using TypeDoc
Executes the command denoted by the given command identifier.
string,boolean,number,undefined, andnull, as well asPosition, Range,Uriand Location.