$ModuleCommands class
- Available extensions
- Annotations
-
- @JS('vscode.commands')
- @staticInterop
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
executeCommand<
T> (String command, [Iterable? rest]) → Future -
Available on $ModuleCommands, provided by the $ModuleCommands$Typings extension
Executes the command denoted by the given command identifier. -
getCommands(
[bool? filterInternal]) → Future -
Available on $ModuleCommands, provided by the $ModuleCommands$Typings extension
Retrieve the list of all available commands. Commands starting with an underscore are treated as internal commands. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
registerCommand(
String command, dynamic callback([Iterable?]), [dynamic thisArg]) → Disposable -
Available on $ModuleCommands, provided by the $ModuleCommands$Typings extension
Registers a command that can be invoked via a keyboard shortcut, a menu item, an action, or directly. -
registerTextEditorCommand(
String command, void callback(TextEditor, TextEditorEdit, [Iterable?]), [dynamic thisArg]) → Disposable -
Available on $ModuleCommands, provided by the $ModuleCommands$Typings extension
Registers a text editor command that can be invoked via a keyboard shortcut, a menu item, an action, or directly. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited