Keyboard shortcuts

You can use keyboard shortcuts for common App Maker editor actions.

Global shortcuts

Ctrl+Z (Command+Z on Mac)Undo
Ctrl+Shift+Z (Command+Shift+Z on Mac)Redo
Ctrl+H (Command+H on Mac)Global Search
F9Preview app

Page editor shortcuts

DeleteDelete the selected widgets
Ctrl+C (Command+C on Mac)Copy the selected widgets
Ctrl+V (Command+V on Mac)Paste widgets
Ctrl+X (Command+X on Mac)Cut the selected widgets
Ctrl+I (Command+I on Mac)Show or hide the logic inspector
Shift+DragBox-select multiple widgets
Option+Click (Command+Shift+Click on Mac)Add or remove a widget from selected widgets
Arrow keysNudge the selected widgets one pixel in the direction of the arrow key
Shift+arrow keyNudge the selected widgets ten pixels in the direction of the arrow key
Double-click widgetOpen the special editor for the selected widget, if supported
Enter (Return on Mac)Open the special editor for the selected widget, if supported
Right-click or Shift+F10Open the widget-specific context menu
Note: If you're using Firefox, press the Menu key on your keyboard to open the widget-specific context menu.

Code editor shortcuts

Ctrl+Space (Control+Space on Mac)Open the code-completion window
Note: If you're using Chrome OS and you have more than one language enabled, use Ctrl+Search+Space to open the code-completion window.
Ctrl+Enter (Command+Return on Mac)Open the code-completion documentation. The code-completion window must be open.
Ctrl+C (Command+C on Mac)Copy the selected text
Ctrl+V (Command+V on Mac)Paste text from the clipboard
Ctrl+X (Command+X on Mac)Cut the selected text
Ctrl+D (Command+D on Mac)Delete the line
Ctrl+F (Command+F on Mac)Find within the code editor
Ctrl+G (Command+G on Mac)Find next
Ctrl+Shift+G (Command+Shift+G on Mac)Find previous
Ctrl+Shift+F (not available on Mac)Replace within the code editor
Ctrl+Forward slash (Control+Forward slash on Mac)Line comment or uncomment
Ctrl+Alt+Forward slash (Control+Option+Forward slash on Mac)Comment or uncomment the selected block
Ctrl+Alt+Dash (Control+Option+Dash on Mac)Fold all
Ctrl+Alt+= (Control+Option+= on Mac)Unfold all
Shift+TabAuto-indent the line or selection
Ctrl+] (Command+] on Mac)Indent the line or selection
Ctrl+[ (Command+[ on Mac)Remove one indent from the line or selection