RubyMine 7.0.0 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+OMeta+F12Command F12Command F12Command OCommand 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 Command 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+FCommand ECommand ECommand ECommand 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+Meta+EShift Command EShift Command EShift Command EShift Command 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+TMeta+N or Shift+Alt+CCommand OCommand NShift Command TCommand 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+RMeta+TShift Command OShift Command NShift Command RShift Command 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+FCommand ECommand ECommand ECommand 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+Meta+EShift Command EShift Command EShift Command EShift Command E Show the list of recently updated files.
Navigate to Line Ctrl+GCtrl+GCtrl+GCtrl+GAlt+GCtrl+GCtrl+GCtrl+LMeta+LCommand LCommand GCommand LCommand 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 ClickMeta+B, Meta+Button1 Click or Button2 ClickCommand B, Command Button1 Click or Button2 ClickCommand B, Command Button1 Click or Button2 ClickF3 or Control Button1 ClickCommand B, Command 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+Meta+Button1 ClickAlt Command B or Alt Command Button1 ClickAlt Command B or Alt Command Button1 ClickAlt Command B or Alt Command Button1 ClickAlt Command B or Alt Command 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+Meta+Button1 Click or Shift+Button2 ClickShift Command B, Control Shift B, Shift Command Button1 Click or Shift Button2 ClickControl Shift B, Shift Command Button1 Click or Shift Button2 ClickShift Command B, Control Shift B, Shift Command Button1 Click or Shift Button2 ClickShift Command B, Shift Command 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+UMeta+UCommand UCommand UCommand UCommand 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 Command TShift Command TShift Command TShift Command 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+Meta+Home or Shift+Alt+NControl Command UpAlt Command Home or Shift Alt NControl Command UpAlt Command 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 Command Open BracketCommand Open BracketAlt Command 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 Command Close BracketCommand 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+Meta+Left or Button4 ClickCommand Open Bracket, Alt Command Left or Button4 ClickAlt Command Left or Button4 ClickCommand Open Bracket or Button4 ClickCommand Open Bracket or Alt Command 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+Meta+Right or Button5 ClickCommand Close Bracket, Alt Command Right or Button5 ClickAlt Command Right or Button5 ClickCommand Close Bracket or Button5 ClickCommand Close Bracket or Alt Command 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 Command UpAlt Command UpAlt Command UpAlt Command 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 Command DownAlt Command DownAlt Command DownAlt Command 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+Meta+BackspaceShift Command BackspaceShift Command BackspaceControl QShift Command Backspace Move through the most recent change points.
Navigate to Next Highlighted Error F2F2F2F2F2 or Ctrl+X, Back QuoteF2F2 or Ctrl+PeriodF2F2F2F2Command 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 Command PeriodShift F2 Navigate to the previous found error/warning.

See Also

Procedures:

Reference:

Web Resources: