IntelliJ IDEA 13.0.0 Web Help

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

Ctrl+alt+alphanumeric keys

Shortcut Function Use this shortcut to...
or Ctrl+Alt+Button1 Click or Ctrl+Alt+Button1 ClickCtrl+Alt+B or Ctrl+Alt+Button1 ClickCtrl+Alt+B or Ctrl+Alt+Button1 ClickCtrl+Alt+B or Ctrl+Alt+B or Ctrl+Alt+Button1 ClickCtrl+Alt+B or Ctrl+Alt+Button1 Click or Ctrl+Alt+Button1 ClickCtrl+T or Ctrl+Alt+BAlt Command B or Alt Command Button1 Click or Alt Command B or Navigate to Implementation Navigate to implementation of an item at the caret.
Ctrl+Alt+CCtrl+Alt+CCtrl+Alt+CCtrl+Alt+CCtrl+Alt+CShift+Alt+CCtrl+Alt+CAlt Command CAlt Command CAlt Command C Extract Constant Replace selected expression with a constant (static final field) (Refactoring).
Ctrl+Alt+FCtrl+Alt+FCtrl+Alt+FCtrl+Alt+FCtrl+Alt+FShift+Alt+ECtrl+Alt+FAlt Command FAlt Command FAlt Command F Extract Field Put a selected expression result into a field (Refactoring).
Ctrl+Alt+GCtrl+Alt+GCtrl+Alt+GCtrl+Alt+GCtrl+Alt+GCtrl+Alt+GCtrl+Alt+GAlt Command GAlt Command GAlt Command G Run Grails target Execute Grails target with the specified target name.
Ctrl+Alt+HCtrl+Alt+HCtrl+Alt+HCtrl+Alt+HCtrl+Alt+HCtrl+Alt+HCtrl+Alt+HControl Alt HControl Alt HControl Alt H Call Hierarchy Browse call hierarchy for the selected method.
Ctrl+Alt+ICtrl+Alt+ICtrl+Alt+ICtrl+Alt+I or Ctrl+Alt+Q or Ctrl+Alt+ICtrl+Alt+IControl Alt IAlt Command ICommand I Auto-indent Lines Indent current line or selected block according to the Code Style Settings.
Ctrl+Alt+JCtrl+Alt+JCtrl+Alt+JCtrl+Alt+JCtrl+Alt+JCtrl+Alt+JCtrl+Alt+JAlt Command JAlt Command JAlt Command J Surround with Live Template Surround the selection with one of the Live Templates.
Ctrl+Alt+MCtrl+Alt+MCtrl+Alt+MCtrl+Alt+MCtrl+Alt+MShift+Alt+MShift+Alt+MAlt Command MAlt Command MAlt Command M Extract Method Create a method from the selected code (Refactoring).
Ctrl+Alt+NCtrl+Alt+NCtrl+Alt+NCtrl+Alt+NCtrl+Alt+NCtrl+Alt+NShift+Alt+IAlt Command NAlt Command NAlt Command I Inline Inline a selected method/variable (Refactoring).
Ctrl+Alt+PCtrl+Alt+PCtrl+Alt+PCtrl+Alt+PCtrl+Alt+PCtrl+Alt+PCtrl+Alt+PAlt Command PAlt Command PAlt Command P Extract Parameter Turn a selected expression into a method parameter (Refactoring).
Ctrl+Alt+TCtrl+Alt+TCtrl+Alt+TCtrl+Alt+T or Ctrl+Alt+TCtrl+Alt+TShift+Alt+Z or Ctrl+Alt+TAlt Command TAlt Command TAlt Command Z Surround with Surround selected code fragment with if, while, try/catch, or another construct.
Ctrl+Alt+VShift+Alt+VCtrl+Alt+VCtrl+Alt+V or Ctrl+Alt+VShift+Alt+VShift+Alt+L or Ctrl+Alt+VAlt Command VAlt Command VAlt Command L Extract Variable Put selected expression result into a variable (Refactoring).
Ctrl+Alt+YCtrl+Alt+YCtrl+Alt+YCtrl+Alt+YCtrl+Alt+YCtrl+Alt+YCtrl+Alt+YAlt Command YAlt Command YAlt Command Y Synchronize Detect all externally changed files and reload them from disk.

Ctrl+alt+navigation keys

Shortcut Function Use this shortcut to...
Ctrl+Alt+EnterCtrl+Alt+EnterCtrl+Alt+EnterCtrl+Alt+EnterCtrl+Alt+EnterAlt Command Enter Start new line before current one Start a new line before the current one.
Ctrl+Alt+DownCtrl+Alt+DownCtrl+Alt+DownCtrl+Alt+DownAlt+DownCtrl+Alt+DownAlt Command Down
Ctrl+Alt+UpCtrl+Alt+UpCtrl+Alt+UpCtrl+Alt+UpAlt Command UpAlt Command Up
Navigate to Next/Previous Occurrence Navigate to a next found item .
or Button4 Click or Ctrl+Alt+Left or Button4 Click or Button4 ClickCtrl+Alt+Left or Button4 ClickCtrl+Alt+Left or Button4 ClickCtrl+Alt+Left or Button4 ClickAlt+Left or Button4 ClickAlt+Left or Button4 Click, or Alt Command Left or Button4 Click or Button4 Click Back Undo last navigation operation.

Note

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

or Button5 Click or Ctrl+Alt+Right or Button5 Click or Button5 ClickCtrl+Alt+Right or Button5 ClickCtrl+Alt+Right or Button5 ClickCtrl+Alt+Right or Button5 ClickAlt+Right or Button5 ClickAlt+Right or Button5 Click, Alt Command Right or Alt Command Right or Button5 Click or Button5 Click Forward Redo last undone navigation operation.

Note

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

Ctrl+Alt+HomeCtrl+Alt+HomeCtrl+Alt+HomeCtrl+Alt+HomeCtrl+Alt+HomeAlt Command Home Navigate to Related File Navigates between files with the various relationships. See Navigation in Source Code.

Ctrl+Alt+Function (F) key

Shortcut Function Use this shortcut to...
Ctrl+Alt+6Ctrl+Alt+6Ctrl+Alt+F6Ctrl+Alt+F6Ctrl+Alt+F6Ctrl+Alt+F6Alt Command F6Alt Command F6 Switch to another coverage suite. Open the Coverage Suites popu-up window and select the desired suite to run.
Ctrl+Alt+7Ctrl+Alt+7Ctrl+Alt+F7Ctrl+Alt+F7Ctrl+Alt+F7Ctrl+Alt+F7Alt Command F7Alt Command F7 Show usages Show usages of a symbol at the caret.
or Alt+Button1 Click or Ctrl+Alt+8 or Shift+Alt+Button1 ClickCtrl+Alt+8 or Shift+Alt+Button1 Click or Ctrl+Alt+F8 or Alt+Button1 ClickShift+F9Ctrl+Alt+F8 or Alt+Button1 ClickCtrl+Alt+F8 or Alt+Button1 Click or Alt Button1 Click or Alt Command F8 or Alt Button1 Click Quick Evaluate Expression Evaluate an arbitrary expression without calling Evaluate Expression dialog box.
Ctrl+Alt+9Ctrl+Alt+9Ctrl+Alt+F9Ctrl+Alt+F9Ctrl+Alt+F9Ctrl+Alt+F9Alt Command F9Alt Command F9 Force Run To Cursor Run to the line where the caret is located, ignoring breakpoints.

See Also

Procedures:

Reference:

Getting Started:

Web Resources: