Command Menu
The command menu allows running a large set of commands from the UI. It is keyboard-friendly and allows for searching and selecting commands. Most of the functionality of LiveCodes can be achieved using the command menu, which can really improve productivity and DX.
It can be triggered from the keyboard by pressing Ctrl + K (or ⌘ + K on Mac), or from the Help Menu.
The available commands cover a wide range of functionality, like showing and hiding UI elements (e.g. different editors, the result page, console, compiled code viewer, and tests), changing languages, loading starter templates, opening different screens (e.g. new project, opening saved projects, import, embeds, deploy, share and more). In addition many commands can be executed from the command menu, such as running code, formatting code, changing settings (e.g. autorun, autosave, AI code assistant, changing themes, editor settings, and more).
Using the Command Menu
Commands can be navigated and selected by:
- The mouse: scrolling and clicking
- The keyboard: using the up and down arrow keys to navigate, pressing Enter to select, Backspace to move to parent category and Esc to close the command menu.
- Searching: typing in the search box for fuzzy search.
Keyboard Shortcuts
If a command has a keyboard shortcut, it will be shown in the command menu. In addition, the whole list of keyboard shortcuts can be opened from the command menu (by searching for "Keyboard Shortcuts") or from the UI from the Help Menu.