$ModuleCommands$Typings extension
Methods
-
executeCommand<T>(String command, [Iterable? rest])
→ Future
-
Executes the command denoted by the given command identifier.
-
getCommands([bool? filterInternal])
→ Future
-
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
-
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
-
Registers a text editor command that can be invoked via a keyboard shortcut,
a menu item, an action, or directly.