This section lists and describes the keyboard shortcuts that include the ^ ⌥ keys:

Ctrl+Alt+Alphanumeric keys

ShortcutFunctionUse this shortcut to...
⌥⌘B⌥⌘B⌃⌥BNavigate to ImplementationNavigate to implementation of an item at the caret.
⌥⌘C⌥⌘C⌃⌥C⌃⌥CExtract Constant Replace selected expression with a constant (static final field) (Refactoring).
⌥⌘F⌥⌘F⌥⌘F⌃⌥F Extract Field Put the selected expression result into a field (Refactoring).
⌥⌘G⌥⌘G⌥⌘G⌃⌥G⌃⌥G Run Grails targetExecute Grails target with the specified target name.
⌃⌥H⌃⌥H⌃⌥H⌃⌥H⌃⌥HCall HierarchyBrowse call hierarchy for the selected method. See page Viewing Structure and Hierarchy of the Source Code
⌃⌥I⌥⌘I⌘I⌃⌥I⌃⌥IAuto-indent LinesIndent current line or selected block according to the Code Style settings.
⌥⌘J⌥⌘J⌥⌘J⌃⌥J⌃⌥JSurround with Live TemplateSurround the selection with one of the Live Templates.
⌥⌘M⌥⌘M⌥⌘M⌃⌥M⌃⌥MExtract Method Create a method from the selected code (Refactoring).
⌥⌘N⌥⌘N⌥⌘I⌃⌥N⌃⌥NInline Inline the selected method/variable (Refactoring).
⌥⌘P⌥⌘P⌥⌘P⌃⌥P⌃⌥PExtract Parameter Turn the selected expression into a method parameter (Refactoring).
⌥⌘T⌥⌘T⌥⌘Z⌃⌥T⌃⌥TSurround withSurround selected code fragment with if, while, try/catch, or another construct.
⌥⌘V⌥⌘V⌥⌘L⌃⌥V⌃⌥VExtract VariablePut selected expression result into a variable (Refactoring). See page Extract Variable.
⌥⌘Y⌥⌘Y⌃⌥Y⌃⌥YSynchronizeDetect all externally changed files and reload them from disk.

Ctrl+Alt+Navigation keys

ShortcutFunctionUse this shortcut to...
⌥⌘⏎⌥⌘⏎⌥⌘⏎⌃⌥⏎⌃⌥⏎Start new line before current oneStart a new line before the current one.
⌥⌘↓⌥⌘↓⌃⌥↓⌃⌥↓

⌥⌘↑⌥⌘↑⌃⌥↑⌃⌥↑
Navigate to Next/Previous OccurrenceNavigate to the next/previous found item.
⌘[⌥⌘←⌘[⌃⌥←⌃⌥←BackUndo last navigation operation. See page Navigating to Navigated Items

On a macOS computer, you can also use the three-finger right-to-left swipe gesture.

⌘]⌥⌘→⌘]⌃⌥→⌃⌥→ForwardRedo last undone navigation operation. See page Navigating to Navigated Items

On a macOS computer, you can also use the three-finger left-to-right swipe gesture.

⌃⌘↑⌥⌘↖⌃⌘↑⌃⌥↖⌃⌥↖Navigate to Related SymbolNavigates between files with the various relationships. See Navigation in Source Code.

Ctrl+Alt+Function (F) keys

ShortcutFunctionUse this shortcut to...
⌥⌘F6⌥⌘F6⌥⌘F6⌃⌥F6⌃⌥F6Switch to another coverage suite.Open the Coverage Suites popu-up window and select the desired suite to run.
⌥⌘F7⌥⌘F7⌥⌘F7⌃⌥F7⌃⌥F7Show usagesShow usages of a symbol at the caret. See page Viewing Usages of a Symbol
⌥⌘F8⌥⌘F8⌥⌘F8⇧F9⌃⌥F8Quick Evaluate ExpressionEvaluate an arbitrary expression without calling Evaluate Expression dialog box.
⌥⌘F9⌥⌘F9⌥⌘F9⌃⌥F9⌃⌥F9Force Run To CursorRun to the line where the caret is located, ignoring breakpoints. See page Stepping Through the Program.