Skip to content

Keyboard Shortcuts

expressCode supports a variety of keyboard shortcuts to enhance your workflow. This page lists all available shortcuts for both expressCode-specific features and the Monaco editor.

⚠️ Mac Keyboard Shortcut Limitations

On macOS, some keyboard shortcuts may not be available because fewer keyboard events are passed through from the operating system to CEP panels. Additionally, some shortcuts may depend on what is currently selected in After Effects. If a shortcut doesn't work as expected, this is likely due to these platform-specific limitations.

expressCode Shortcuts

These are custom keyboard shortcuts specific to expressCode functionality.

General

MacWindowsActionDescription
⇧⌘⌫⇧ Ctrl ⌫Clear AllClears all selections, code, and resets the editor to its initial state

Editor Actions

MacWindowsActionDescription
⇧⌘A⇧ Ctrl ASelect AllSelects all text in the editor
⇧⌘B⇧ Ctrl BFormat DocumentAuto-formats your code with proper indentation and spacing
⇧⌘F⇧ Ctrl FFindOpens the find/replace dialog
⇧⌘P⇧ Ctrl PCommand PaletteOpens the Monaco editor command palette. Only works if nothing is selected in the timeline
⇧⌘W⇧ Ctrl WToggle Word WrapEnables or disables word wrapping in the editor

Expression/Library Selection

MacWindowsActionDescription
ClickClickSelect single itemSelect a single expression or library item
⌘ ClickCtrl ClickToggle selectionAdd/remove individual items from multi-selection
⇧ Click⇧ ClickRange selectionSelect a range of items between the last clicked and current item

Monaco Editor Shortcuts

These are built-in Monaco editor shortcuts that work within the code editor.

Basic Editing

MacWindowsAction
⌘XCtrl XCut line (empty selection)
⌘VCtrl VPaste
⌘ZCtrl ZUndo
⇧⌘Z⇧ Ctrl ZRedo
⌘DCtrl DAdd selection to next find match
⌥↑ / ⌥↓Alt ↑ / Alt ↓Move line up/down
⇧⌥↑ / ⇧⌥↓⇧ Alt ↑ / ⇧ Alt ↓Copy line up/down
⇧⌘K⇧ Ctrl KDelete line

Search and Replace

MacWindowsAction
⇧⌘F⇧ Ctrl FFind
⌘⌥FCtrl HReplace

Multi-Cursor and Selection

MacWindowsAction
⌥ ClickAlt ClickInsert cursor
⌘UCtrl UUndo last cursor operation

Code Navigation

MacWindowsAction
⌘→EndGo to end of line
⌘←HomeGo to beginning of line
⌘↑Ctrl HomeGo to beginning of file
⌘↓Ctrl EndGo to end of file
⌃GCtrl GGo to line

Code Folding

MacWindowsAction
⌘⌥[⇧ Ctrl [Fold region
⌘⌥]⇧ Ctrl ]Unfold region

Tips

  • Command Palette: Press ⇧⌘P (Mac) or ⇧ Ctrl P (Windows) to access all available editor commands
  • Footer Shortcuts: Some actions like Format Document and Find can also be triggered using the footer buttons
  • IntelliSense: Start typing and IntelliSense will automatically suggest completions
  • Multi-Selection: Use multi-cursor editing to make the same change in multiple places simultaneously

Troubleshooting

If a keyboard shortcut isn't working:

  1. Check macOS Limitations: Some shortcuts may not pass through to CEP panels on macOS
  2. Check After Effects Selection: Some shortcuts may depend on what's selected in After Effects
  3. Check for Conflicts: Ensure the shortcut isn't being intercepted by After Effects or your OS

expressCode v1.1.1 Documentation