RubyMine 7.0.1 Web Help

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

Ctrl+alt+alphanumeric keys

Shortcut Function Use this shortcut to...
Ctrl+Alt+B or Ctrl+Alt+Button1 ClickCtrl+Alt+B or Ctrl+Alt+Button1 ClickCtrl+Alt+B or Ctrl+Alt+Button1 ClickCtrl+Alt+B or Ctrl+Alt+Button1 ClickCtrl+Alt+B or Ctrl+Alt+Button1 ClickCtrl+Alt+B or Ctrl+Alt+Button1 ClickCtrl+Alt+B or Ctrl+Alt+Button1 ClickCtrl+T or Ctrl+Alt+BAlt+⌘+Button1 ClickAlt ⌘ B or Alt ⌘ Button1 ClickAlt ⌘ B or Alt ⌘ Button1 ClickAlt ⌘ B or Alt ⌘ Button1 ClickAlt ⌘ B or Alt ⌘ Button1 Click Navigate to Implementation Navigate to implementation of an item at the caret.
Ctrl+Alt+CCtrl+Alt+CCtrl+Alt+CCtrl+Alt+CCtrl+Alt+CCtrl+Alt+CShift+Alt+CCtrl+Alt+CCtrl+Alt+CAlt ⌘ CAlt ⌘ CAlt ⌘ CAlt ⌘ C Extract Constant Replace selected expression with a constant (static final field) (Refactoring).
Ctrl+Alt+FCtrl+Alt+FCtrl+Alt+FCtrl+Alt+FCtrl+Alt+FCtrl+Alt+FShift+Alt+ECtrl+Alt+FCtrl+Alt+FAlt ⌘ FAlt ⌘ FAlt ⌘ FAlt ⌘ F Extract Field Put a selected expression result into a field (Refactoring).
Ctrl+Alt+HCtrl+Alt+HCtrl+Alt+HCtrl+Alt+HCtrl+Alt+HCtrl+Alt+HCtrl+Alt+HCtrl+Alt+HCtrl+Alt+HControl 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+ICtrl+Alt+I or Ctrl+Alt+QCtrl+Alt+ICtrl+Alt+ICtrl+IAlt+⌘+Open BracketControl Alt IAlt ⌘ I⌘ IAlt ⌘ 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+JCtrl+Alt+JAlt+⌘+JAlt ⌘ JAlt ⌘ JAlt ⌘ JAlt ⌘ J Surround with Live Template Surround the selection with one of the Live Templates.
Ctrl+Alt+MCtrl+Alt+MCtrl+Alt+MCtrl+Alt+MCtrl+Alt+MCtrl+Alt+MShift+Alt+MShift+Alt+MAlt+⌘+MAlt ⌘ MAlt ⌘ MAlt ⌘ MAlt ⌘ M Extract Method Create a method from the selected code (Refactoring).
Ctrl+Alt+NCtrl+Alt+NCtrl+Alt+NCtrl+Alt+NCtrl+Alt+NCtrl+Alt+NCtrl+Alt+NShift+Alt+IAlt+⌘+NAlt ⌘ NAlt ⌘ NAlt ⌘ IAlt ⌘ N Inline Inline a selected method/variable (Refactoring).
Ctrl+Alt+PCtrl+Alt+PCtrl+Alt+PCtrl+Alt+PCtrl+Alt+PCtrl+Alt+PCtrl+Alt+PCtrl+Alt+PAlt+⌘+PAlt ⌘ PAlt ⌘ PAlt ⌘ PAlt ⌘ P Extract Parameter Turn a selected expression into a method parameter (Refactoring).
Ctrl+Alt+TCtrl+Alt+TCtrl+Alt+TCtrl+Alt+TCtrl+Alt+TCtrl+Alt+TCtrl+Alt+TShift+Alt+Z or Ctrl+Alt+TAlt+⌘+TAlt ⌘ TAlt ⌘ TAlt ⌘ ZAlt ⌘ T Surround with Surround selected code fragment with if, while, try/catch, or another construct.
Ctrl+Alt+VCtrl+Alt+VShift+Alt+VCtrl+Alt+VCtrl+Alt+VCtrl+Alt+VShift+Alt+VShift+Alt+L or Ctrl+Alt+VAlt+⌘+VAlt ⌘ VAlt ⌘ VAlt ⌘ LAlt ⌘ V Extract Variable Put selected expression result into a variable (Refactoring).
Ctrl+Alt+YCtrl+Alt+YCtrl+Alt+YCtrl+Alt+YCtrl+Alt+YCtrl+Alt+YCtrl+Alt+YCtrl+Alt+YAlt+⌘+YAlt ⌘ YAlt ⌘ YAlt ⌘ YAlt ⌘ 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+EnterCtrl+Alt+EnterCtrl+Alt+EnterCtrl+Alt+EnterAlt+⌘+EnterAlt ⌘ EnterAlt ⌘ EnterAlt ⌘ EnterAlt ⌘ Enter Start new line before current one Start a new line before the current one.
Ctrl+Alt+DownShift+Alt+DownCtrl+Alt+DownCtrl+Alt+DownCtrl+Alt+DownCtrl+Alt+DownAlt+DownCtrl+Alt+DownCtrl+Shift+DownAlt ⌘ DownAlt ⌘ DownAlt ⌘ DownAlt ⌘ Down
Ctrl+Alt+UpShift+Alt+UpCtrl+Alt+UpCtrl+Alt+UpCtrl+Alt+UpCtrl+Alt+UpAlt+UpCtrl+Alt+UpCtrl+Shift+UpAlt ⌘ UpAlt ⌘ UpAlt ⌘ UpAlt ⌘ Up
Navigate to Next/Previous Occurrence Navigate to a next found item .
Ctrl+Alt+Left or Button4 ClickShift+Alt+Left or Button4 ClickCtrl+Alt+Left 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 ClickAlt+⌘+Left or Button4 Click⌘ Open Bracket, Alt ⌘ Left or Button4 ClickAlt ⌘ Left or Button4 Click⌘ Open Bracket or Button4 Click⌘ Open Bracket or Alt ⌘ Left Back Undo last navigation operation.

Note

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

Ctrl+Alt+Right or Button5 ClickShift+Alt+Right or Button5 ClickCtrl+Alt+Right 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 ClickAlt+⌘+Right or Button5 Click⌘ Close Bracket, Alt ⌘ Right or Button5 ClickAlt ⌘ Right or Button5 Click⌘ Close Bracket or Button5 Click⌘ Close Bracket or Alt ⌘ Right Forward Redo last undone navigation operation.

Note

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

Ctrl+Alt+Home or Shift+Alt+NCtrl+Alt+Home or Shift+Alt+NCtrl+Alt+Home or Shift+Alt+NCtrl+Alt+Home or Shift+Alt+NCtrl+Alt+Home or Shift+Alt+NCtrl+Alt+Home or Shift+Alt+NCtrl+Alt+Home or Shift+Alt+NCtrl+Alt+Home or Shift+Alt+NAlt+⌘+Home or Shift+Alt+NControl ⌘ UpAlt ⌘ Home or Shift Alt NControl ⌘ UpAlt ⌘ Home or Shift Alt N Navigate to Related Symbol 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+F6Ctrl+Alt+6Ctrl+Alt+6Ctrl+Alt+6Ctrl+Alt+F6Ctrl+Alt+F6Ctrl+Alt+F6Ctrl+Alt+F6Alt+⌘+F6Alt ⌘ F6Alt ⌘ F6Alt ⌘ F6Alt ⌘ F6 Switch to another coverage suite. Open the Coverage Suites popu-up window and select the desired suite to run.
Ctrl+Alt+F7Ctrl+Alt+7Ctrl+Alt+7Ctrl+Alt+7Ctrl+Alt+F7Ctrl+Alt+F7Ctrl+Alt+F7Ctrl+Alt+F7Alt+⌘+F7Alt ⌘ F7Alt ⌘ F7Alt ⌘ F7Alt ⌘ F7 Show usages Show usages of a symbol at the caret.
Ctrl+Alt+F8Ctrl+Alt+8 or Ctrl+Shift+Alt+Button1 ClickCtrl+Alt+8 or Ctrl+Shift+Alt+Button1 ClickCtrl+Alt+8 or Ctrl+Shift+Alt+Button1 ClickCtrl+Alt+F8Shift+F9Ctrl+Alt+F8Ctrl+Alt+F8Alt+⌘+F8Alt ⌘ F8Alt ⌘ F8Alt ⌘ F8Alt Button1 Click or Alt ⌘ F11 Quick Evaluate Expression Evaluate an arbitrary expression without calling Evaluate Expression dialog box.
Ctrl+Alt+F9Ctrl+Alt+9Ctrl+Alt+9Ctrl+Alt+9Ctrl+Alt+F9Ctrl+Alt+F9Ctrl+Alt+F9Ctrl+Alt+F9Alt+⌘+F9Alt ⌘ F9Alt ⌘ F9Alt ⌘ F9Control Shift Alt F8 Force Run To Cursor Run to the line where the caret is located, ignoring breakpoints.

See Also

Procedures:

Reference:

Getting Started:

Web Resources: