$ModuleCommands$Typings extension
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. -
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.