RubyMine 7.0.1 Web Help

Function Shortcut Use this shortcut to...
File Structure Pop-up Ctrl+F12Ctrl+F12Ctrl+0Ctrl+F12Ctrl+F12Ctrl+F12Ctrl+F12 or Ctrl+Shift+F12Ctrl+F3 or Ctrl+O⌘+F12⌘ F12⌘ F12⌘ O⌘ F12 Display the Structure pop-up window for quick navigation through the current file.
Select target Alt+F1Shift+Alt+1 or Alt+F1Shift+Alt+1Alt+F1Alt+F1Alt+F1Ctrl+Shift+1, Ctrl+Shift+2, Ctrl+Shift+3 or Ctrl+Shift+9Alt+F1Alt+F1Alt F1Alt F1Alt ⌘ WAlt F1 Move focus from the current file, class, method or reference to a data source table to a view suggested in the Select Target pop-up menu. See Navigating Between IDE Components.
Recent Files Ctrl+ECtrl+ECtrl+ECtrl+ECtrl+ECtrl+EShift+F4Ctrl+EShift+Alt+F⌘ E⌘ E⌘ E⌘ E Show the list of recently opened files.
Recently Changed Files Ctrl+Shift+ECtrl+Shift+ECtrl+Shift+ECtrl+Shift+ECtrl+Shift+ECtrl+Shift+ECtrl+Shift+ECtrl+Shift+EShift+⌘+EShift ⌘ EShift ⌘ EShift ⌘ EShift ⌘ E Show the list of recently updated files.
Type Hierarchy Ctrl+HCtrl+HCtrl+HCtrl+HCtrl+HAlt+HShift+Alt+F12F4Ctrl+HControl HControl HF4Control H Browse hierarchy for the selected class.
Navigate to Class Ctrl+NCtrl+NCtrl+NCtrl+NShift+Alt+GCtrl+CommaCtrl+OCtrl+Shift+T⌘+N or Shift+Alt+C⌘ O⌘ NShift ⌘ T⌘ N Navigate directly to a class in project by specifying its name in a pop-up dialog box.
Navigate to File Ctrl+Shift+NCtrl+Shift+NCtrl+Shift+NCtrl+Shift+NCtrl+X, Ctrl+FCtrl+Shift+NShift+Alt+OCtrl+Shift+R⌘+TShift ⌘ OShift ⌘ NShift ⌘ RShift ⌘ N Navigate directly to a file in project by specifying its name in a pop-up dialog box.
Navigate to Recently Opened File Ctrl+ECtrl+ECtrl+ECtrl+ECtrl+ECtrl+EShift+F4Ctrl+EShift+Alt+F⌘ E⌘ E⌘ E⌘ E Show the list of recently opened files.
Navigate to Recently Changed File Ctrl+Shift+ECtrl+Shift+ECtrl+Shift+ECtrl+Shift+ECtrl+Shift+ECtrl+Shift+ECtrl+Shift+ECtrl+Shift+EShift+⌘+EShift ⌘ EShift ⌘ EShift ⌘ EShift ⌘ E Show the list of recently updated files.
Navigate to Line Ctrl+GCtrl+GCtrl+GCtrl+GAlt+GCtrl+GCtrl+GCtrl+L⌘+L⌘ L⌘ G⌘ L⌘ G Navigate to any line in the current file by specifying its number.
Navigate to Declaration Ctrl+B, Ctrl+Button1 Click or Button2 ClickCtrl+B, Ctrl+Button1 Click or Button2 ClickCtrl+B, Ctrl+Button1 Click or Button2 ClickCtrl+B, Ctrl+Button1 Click or Button2 ClickCtrl+Alt+G, Escape, Period, Alt+Period or Ctrl+Button1 ClickF12, Shift+F2, Ctrl+B, Ctrl+Button1 Click or Button2 ClickCtrl+B, Ctrl+Button1 Click or Button2 ClickF3 or Ctrl+Button1 Click⌘+B, ⌘+Button1 Click or Button2 Click⌘ B, ⌘ Button1 Click or Button2 Click⌘ B, ⌘ Button1 Click or Button2 ClickF3 or Control Button1 Click⌘ B, ⌘ Button1 Click or Button2 Click Navigate to declaration of a symbol at caret.
Navigate to Implementation 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 of the item at caret.
Navigate to Type Declaration Ctrl+Shift+B or Ctrl+Shift+Button1 ClickCtrl+Shift+B or Ctrl+Shift+Button1 ClickCtrl+Shift+B or Ctrl+Shift+Button1 ClickCtrl+Shift+B or Ctrl+Shift+Button1 ClickCtrl+Shift+B or Ctrl+Shift+Button1 ClickShift+Alt+F12 or Shift+Alt+F2Ctrl+Shift+B or Ctrl+Shift+Button1 ClickCtrl+Shift+B or Ctrl+Shift+Button1 ClickCtrl+Shift+B, Shift+⌘+Button1 Click or Shift+Button2 ClickShift ⌘ B, Control Shift B, Shift ⌘ Button1 Click or Shift Button2 ClickControl Shift B, Shift ⌘ Button1 Click or Shift Button2 ClickShift ⌘ B, Control Shift B, Shift ⌘ Button1 Click or Shift Button2 ClickShift ⌘ B, Shift ⌘ Button1 Click or Shift Button2 Click Navigate to a type declaration of a symbol at caret, the symbol being a variable or a method call.
Navigate to Super Method Ctrl+UCtrl+UCtrl+UCtrl+UCtrl+UCtrl+UCtrl+Shift+PCtrl+U⌘+U⌘ U⌘ U⌘ U⌘ U Navigate to a super method declaration of a method under the caret.
Navigate to Test/Test Subject Ctrl+Shift+TCtrl+Shift+TCtrl+Shift+TCtrl+Shift+TCtrl+Shift+TCtrl+Shift+TCtrl+Shift+TCtrl+Shift+TCtrl+Alt+TShift ⌘ TShift ⌘ TShift ⌘ TShift ⌘ T Navigate to a test for the class at caret, if any, or navigate from a test to a test subject.
Navigate to Related Symbol 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 between files with complicated relationships between them.

For example, use this shortcut to navigate between views, controllers, and the other Rails components, and between a test and test subject.

Navigate to Next Method Alt+DownAlt+DownAlt+DownAlt+DownAlt+Down or Ctrl+Alt+EAlt+DownCtrl+Alt+DownCtrl+Shift+DownCtrl+DownControl DownControl DownControl Alt DownControl Down Navigate to the next method declaration in the active editor tab.
Navigate to Previous Method Alt+UpAlt+UpAlt+UpAlt+UpAlt+Up or Ctrl+Alt+AAlt+UpCtrl+Alt+UpCtrl+Shift+UpCtrl+UpControl UpControl UpControl Alt UpControl Up Navigate to the previous method declaration in the active editor tab.
Navigate to Opening Brace Ctrl+Open BracketCtrl+Open BracketCtrl+Open BracketCtrl+Open BracketCtrl+Open Bracket, Ctrl+Alt+Open Bracket or Ctrl+Alt+FCtrl+Open BracketCtrl+Open BracketCtrl+Open BracketCtrl+Open Bracket or Ctrl+AAlt ⌘ Open Bracket⌘ Open BracketAlt ⌘ Open BracketControl Open Bracket or Control A Navigate to the start of the current code block.
Navigate to Closing Brace Ctrl+Close BracketCtrl+Close BracketCtrl+Close BracketCtrl+Close BracketCtrl+Close Bracket, Ctrl+Alt+Close Bracket or Ctrl+Alt+BCtrl+Close Bracket or Ctrl+AsteriskCtrl+Close BracketCtrl+Close Bracket or Ctrl+Shift+PCtrl+Close Bracket or Ctrl+EAlt ⌘ Close Bracket⌘ Close BracketControl Close Bracket or Control Shift PControl Close Bracket or Control E Navigate to the end of the current code block.
Back 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 Undo last navigation operation.

Note

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

Forward 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 Redo last undone navigation operation.

Note

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

Navigate to Previous Occurrence Ctrl+Alt+UpShift+Alt+UpCtrl+Alt+UpCtrl+Alt+UpCtrl+Alt+UpCtrl+Alt+UpAlt+UpCtrl+Alt+UpCtrl+Shift+UpAlt ⌘ UpAlt ⌘ UpAlt ⌘ UpAlt ⌘ Up Navigate to a previous found item.
Navigate to Next Occurrence Ctrl+Alt+DownShift+Alt+DownCtrl+Alt+DownCtrl+Alt+DownCtrl+Alt+DownCtrl+Alt+DownAlt+DownCtrl+Alt+DownCtrl+Shift+DownAlt ⌘ DownAlt ⌘ DownAlt ⌘ DownAlt ⌘ Down Navigate to a next found item.
Last Edit Location Ctrl+Shift+BackspaceCtrl+Shift+BackspaceCtrl+Shift+BackspaceCtrl+Shift+BackspaceCtrl+Shift+BackspaceCtrl+Shift+F2Ctrl+Shift+BackspaceCtrl+QShift+⌘+BackspaceShift ⌘ BackspaceShift ⌘ BackspaceControl QShift ⌘ Backspace Move through the most recent change points.
Navigate to Next Highlighted Error F2F2F2F2F2 or Ctrl+X, Back QuoteF2F2 or Ctrl+PeriodF2F2F2F2⌘ PeriodF2 Navigate to the next found error/warning.
Navigate to Previous Highlighted Error Shift+F2Shift+F2Shift+F2Shift+F2Shift+F2 or Ctrl+Shift+X, Back QuoteShift+F2Shift+F2 or Ctrl+CommaShift+F1Shift+F2Shift F2Shift F2Shift ⌘ PeriodShift F2 Navigate to the previous found error/warning.

See Also

Procedures:

Reference:

Web Resources: