RubyMine 6.3.0 Web Help

This section lists and describes the keyboard shortcuts that include the Ctrl key:

Ctrl+alphanumeric keys

Shortcut Function Use this shortcut to...
Ctrl+ACtrl+ACtrl+ACtrl+ACtrl+X, HCtrl+ACtrl+ACtrl+AMeta+ACommand ACommand ACommand ACommand A Select All Select the entire text in the active editor.
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 Navigate directly to an element's declaration from any usage.
Ctrl+C or Ctrl+InsertCtrl+C or Ctrl+InsertCtrl+C or Ctrl+InsertCtrl+C or Ctrl+InsertCtrl+Insert, Alt+C or Escape, WCtrl+C or Ctrl+InsertCtrl+C or Ctrl+InsertCtrl+C or Ctrl+InsertMeta+C or Meta+InsertCommand C or Command InsertCommand C or Command InsertCommand C or Command InsertCommand C or Command Insert Copy Copy selected text to the Clipboard.
Ctrl+DCtrl+DCtrl+DCtrl+DMeta+DCtrl+DCtrl+D, Ctrl+Shift+Down or Ctrl+Shift+UpCtrl+DCtrl+Shift+DCommand DCommand DCommand DCommand D Duplicate Line or Block Duplicate selected block or line at caret.
Ctrl+ECtrl+ECtrl+ECtrl+ECtrl+ECtrl+EShift+F4Ctrl+EShift+Alt+FCommand ECommand ECommand ECommand E Recent Files
Recent find usages
Show the list of recently opened files.

When the Find tool window has the focus, use this shortcut to show the list of recent find usages results.

Ctrl+F or Alt+F3Ctrl+F or Shift+Alt+3Ctrl+F or Shift+Alt+3Ctrl+F or Alt+F3Ctrl+Alt+S, Alt+F3 or Ctrl+SCtrl+F or Alt+F3Ctrl+F or Alt+F3Ctrl+F or Alt+F3Meta+F or Alt+F3Command FCommand F or Alt F3Command FCommand F or Alt F3 Find Initiate text search in the editor.
Ctrl+GCtrl+GCtrl+GCtrl+GAlt+GCtrl+GCtrl+GCtrl+LMeta+LCommand LCommand GCommand LCommand G Navigate to Line Navigate the to a line with the specified number in the current file.
Ctrl+HCtrl+HCtrl+HCtrl+HCtrl+HAlt+HShift+Alt+F12F4Ctrl+HControl HControl HF4Control H Type Hierarchy Browse hierarchy for the selected class.
Ctrl+JCtrl+JCtrl+JCtrl+JCtrl+JCtrl+JCtrl+JCtrl+Shift+Alt+JMeta+JCommand JCommand JCommand JCommand J Insert Live Template Show a pop-up list of Live Templates starting with a specified prefix.
Ctrl+MCtrl+MCtrl+MCtrl+MCtrl+MCtrl+MCtrl+MCtrl+MCtrl+MEditorScrollToCenterEditorScrollToCenterEditorScrollToCenterShift Command M Scroll to Center Scroll a line at caret to the center of the screen.
Ctrl+NCtrl+NCtrl+NCtrl+NShift+Alt+GCtrl+CommaCtrl+OCtrl+Shift+TMeta+N or Shift+Alt+CCommand OCommand NShift Command TCommand N Navigate to Class Jump to a class in the project with the specified name.
Ctrl+OCtrl+OCtrl+OCtrl+OCtrl+OCtrl+Shift+OCtrl+OCtrl+OCtrl+OControl OCommand OControl OControl Shift O Override Methods Override base class methods in the current class.
Ctrl+PCtrl+PCtrl+PCtrl+PCtrl+PCtrl+PCtrl+PCtrl+PMeta+PCommand PCommand PCommand PCommand P Parameter Info Show parameters of the method call at the caret.
Ctrl+Q or Alt+Button2 ClickCtrl+Q or Alt+Button2 ClickCtrl+Q or Alt+Button2 ClickCtrl+Q or Alt+Button2 ClickCtrl+Q or Alt+Button2 ClickCtrl+QCtrl+Q or Alt+Button2 ClickAlt+Button2 Click, Ctrl+Shift+Space or F2Ctrl+Button2 Click or Ctrl+HF1, Control J or Control Button2 ClickControl J or Control Button2 ClickAlt Button2 Click or F2Control J or Control Button2 Click
Alt+Mouse Button2
Quick documentation Show a pop-up window with documentation for the symbol at the caret.
Ctrl+RCtrl+RCtrl+RCtrl+RShift+Alt+5Ctrl+HCtrl+HCtrl+FAlt+Meta+FCommand RCommand RCommand RCommand R Replace Call the Replace Text dialog box.
Ctrl+SCtrl+SCtrl+SCtrl+SCtrl+X, Ctrl+SCtrl+SCtrl+S or Ctrl+Shift+SCtrl+SMeta+S, Alt+Meta+S or Ctrl+Meta+SCommand SCommand SCommand SCommand S Save All Save all files and settings.
Ctrl+UCtrl+UCtrl+UCtrl+UCtrl+UCtrl+UCtrl+Shift+PCtrl+UMeta+UCommand UCommand UCommand UCommand U Navigate to Super Method Navigate to a super method declaration of a method at caret
Ctrl+V or Shift+InsertCtrl+V or Shift+InsertCtrl+V or Shift+InsertCtrl+V or Shift+InsertAlt+P, Shift+Insert or Ctrl+YCtrl+V or Shift+InsertCtrl+V or Shift+InsertCtrl+V or Shift+InsertMeta+V or Shift+InsertCommand V or Shift InsertCommand V or Shift InsertCommand V or Shift InsertCommand V or Shift Insert Paste Paste from the Clipboard.
Ctrl+WCtrl+WCtrl+WCtrl+WCtrl+Alt+WCtrl+WShift+Alt+PeriodShift+Alt+UpCtrl+W or Shift+Meta+BAlt UpCommand WControl Shift UpControl W Select Word at Caret Successively select expanding blocks of text, starting from the word at caret. (Use this shortcut repeatedly to select expressions.)
Ctrl+X or Shift+DeleteCtrl+X or Shift+DeleteCtrl+X or Shift+DeleteCtrl+X or Shift+DeleteShift+Delete or Alt+XCtrl+X or Shift+DeleteCtrl+X or Shift+DeleteCtrl+X or Shift+DeleteMeta+X or Shift+DeleteCommand X or Shift DeleteCommand X or Shift DeleteCommand X or Shift DeleteCommand X or Shift Delete Cut Cut to the Clipboard.
Ctrl+YCtrl+YCtrl+YCtrl+YCtrl+YCtrl+Shift+LCtrl+ECtrl+DMeta+YCommand BackspaceCommand YCommand DCommand Y Delete Line at Caret Delete a word starting from the current caret location up to the end of word.
Ctrl+Z or Alt+BackspaceCtrl+Z or Alt+BackspaceCtrl+Z or Alt+BackspaceCtrl+Z or Alt+BackspaceCtrl+Shift+Minus or Ctrl+SlashCtrl+ZCtrl+Z or Alt+BackspaceCtrl+ZMeta+ZCommand ZCommand ZCommand ZCommand Z Undo Undo last operation.
Ctrl+Shift+Z or Shift+Alt+BackspaceCtrl+Shift+Z or Shift+Alt+BackspaceCtrl+Shift+Z or Shift+Alt+BackspaceCtrl+Shift+Z or Shift+Alt+BackspaceCtrl+Shift+Z or Shift+Alt+MinusCtrl+Y or Ctrl+Shift+ZCtrl+Shift+Z, Shift+Alt+Backspace or Ctrl+YCtrl+YShift+Meta+Z or Shift+Alt+BackspaceShift Command Z or Shift Alt BackspaceShift Command Z or Shift Alt BackspaceShift Command ZShift Command Z or Shift Alt Backspace Redo Redo last undone operation.
Ctrl+Number Navigate to bookmark Navigate to a numbered bookmark with corresponding number.

Ctrl+navigation keys

Shortcut Function Use this shortcut to...
Ctrl+Tab or Ctrl+Shift+TabCtrl+Tab or Ctrl+Shift+TabCtrl+Tab or Ctrl+Shift+TabCtrl+Tab or Ctrl+Shift+TabCtrl+X, BCtrl+Tab or Ctrl+Shift+TabCtrl+Tab or Ctrl+Shift+TabCtrl+Tab or Ctrl+Shift+TabCtrl+Tab or Ctrl+Shift+TabControl Tab or Control Shift TabControl Tab or Control Shift TabControl Tab or Control Shift TabControl Tab or Control Shift Tab Switcher Navigate between the files opened in the editor, and tool windows.
Ctrl+BackspaceCtrl+BackspaceCtrl+BackspaceCtrl+BackspaceCtrl+Backspace, Alt+Backspace or Escape, BackspaceCtrl+BackspaceCtrl+BackspaceCtrl+BackspaceAlt+BackspaceAlt BackspaceAlt BackspaceCommand BackspaceAlt Backspace Delete to Word Start Delete a word starting from the current caret location up to the word start.
Ctrl+DeleteCtrl+DeleteCtrl+DeleteCtrl+DeleteCtrl+DeleteCtrl+DeleteCtrl+DeleteCtrl+DeleteAlt+DeleteAlt DeleteAlt DeleteCommand DeleteAlt Delete Delete to Word End Delete a word starting from the current caret location up to the word end.
Ctrl+EndCtrl+EndCtrl+EndCtrl+EndCtrl+End or Shift+Alt+PeriodCtrl+EndCtrl+EndCtrl+EndMeta+EndCommand EndCommand EndCommand EndCommand End Move to Text End Move the caret to the end of text.
Ctrl+EnterCtrl+EnterCtrl+EnterCtrl+EnterCtrl+EnterCtrl+EnterCtrl+EnterCtrl+EnterMeta+EnterCommand EnterCommand EnterCommand EnterCommand Enter Split Line or Open Item Depending on the context:
  • In the editor: Intelligently split the current line into 2 lines, shifting quotes, etc. as necessary.
  • In Tool Windows: Open an Editor tab or tabs for the selected item or items, respectively.
Ctrl+HomeCtrl+HomeCtrl+HomeCtrl+HomeCtrl+Home, Shift+Alt+Comma or Escape, CommaCtrl+HomeCtrl+HomeCtrl+HomeMeta+HomeCommand HomeCommand HomeCommand HomeCommand Home Move to Text Start Jump to the beginning of the text.
Ctrl+C or Ctrl+InsertCtrl+C or Ctrl+InsertCtrl+C or Ctrl+InsertCtrl+C or Ctrl+InsertCtrl+Insert, Alt+C or Escape, WCtrl+C or Ctrl+InsertCtrl+C or Ctrl+InsertCtrl+C or Ctrl+InsertMeta+C or Meta+InsertCommand C or Command InsertCommand C or Command InsertCommand C or Command InsertCommand C or Command Insert Copy Copy a current line or a selected code block to the Clipboard.
Ctrl+SpaceCtrl+SpaceCtrl+SpaceCtrl+SpaceAlt+SlashCtrl+SpaceCtrl+Space or Ctrl+Back SlashCtrl+SpaceCtrl+SpaceControl SpaceControl SpaceControl SpaceControl Space, Alt Escape or Shift Space Basic Code Completion Complete code for any class, method or variable.
Ctrl+Page DownCtrl+Page DownCtrl+Page DownCtrl+Page DownCtrl+Page DownCtrl+Page DownShift+Alt+Page DownCtrl+Page DownMeta+Page DownCommand Page DownCommand Page DownCommand Page DownCommand Page Down Navigate to Page Bottom Move the caret down to the page bottom.
Ctrl+Page UpCtrl+Page UpCtrl+Page UpCtrl+Page UpCtrl+Page UpCtrl+Page UpShift+Alt+Page UpCtrl+Page UpMeta+Page UpCommand Page UpCommand Page UpCommand Page UpCommand Page Up Navigate to Page Top Move the caret up to the page top.
Ctrl+DownCtrl+DownCtrl+DownCtrl+DownCtrl+DownCtrl+DownCtrl+DownCtrl+DownMeta+DownEditorScrollDownCommand DownEditorScrollDownCommand Down Scroll Down Move line at caret one down, preserving syntactical correctness.
Ctrl+LeftCtrl+LeftCtrl+LeftCtrl+LeftCtrl+Left, Alt+B or Escape, Ctrl+BCtrl+LeftCtrl+LeftCtrl+LeftAlt+LeftAlt LeftAlt LeftAlt LeftAlt Left Move to Previous Word Move the caret to the previous word.
Ctrl+RightCtrl+RightCtrl+RightCtrl+RightCtrl+Right, Alt+F or Escape, Ctrl+FCtrl+RightCtrl+RightCtrl+RightAlt+RightAlt RightAlt RightAlt RightAlt Right Move to Next Word Move the caret to the next word.
Ctrl+UpCtrl+UpCtrl+UpCtrl+UpCtrl+UpCtrl+UpCtrl+UpCtrl+UpMeta+UpEditorScrollUpCommand UpEditorScrollUpCommand Up
Ctrl+Shift+UpCtrl+Shift+UpCtrl+Shift+UpCtrl+Shift+UpCtrl+Shift+UpCtrl+Shift+UpShift+Alt+UpAlt+UpCtrl+Alt+Meta+UpShift Command UpShift Command UpAlt UpControl Alt Command Up
Scroll Up: Move line at caret one up, preserving syntactical correctness.

Ctrl+symbol keys

Shortcut Function Use this shortcut to...
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 Move to Code Block Start Move the caret to the beginning of the current code block, highlighting its limits.
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 Move to Code Block End Move the caret to the end of the current code block, highlighting its limits.
Ctrl+Slash or Ctrl+NumPad /Ctrl+Slash or Ctrl+NumPad /Ctrl+Slash or Ctrl+NumPad /Ctrl+Slash or Ctrl+NumPad /Alt+SemicolonCtrl+Slash, Ctrl+NumPad / or Ctrl+ColonCtrl+Slash, Ctrl+NumPad / or Ctrl+Shift+CCtrl+Slash or Ctrl+NumPad /Meta+Slash or Meta+NumPad /Command Slash or Command NumPad /Command Slash or Command NumPad /Command Slash or Command NumPad /Command Slash or Command NumPad /
Ctrl+Numpad/
Comment with Line Comment Comment/uncomment current line or selected block with line comments.
Ctrl+=
Ctrl+NumPad+ or Ctrl+EqualsCtrl+NumPad+ or Ctrl+EqualsCtrl+NumPad+ or Ctrl+EqualsCtrl+NumPad+ or Ctrl+EqualsCtrl+NumPad+ or Ctrl+EqualsCtrl+NumPad+ or Ctrl+EqualsCtrl+NumPad+ or Ctrl+EqualsCtrl+NumPad+ or Ctrl+EqualsMeta+NumPad+ or Meta+EqualsCommand NumPad or Command EqualsCommand NumPad or Command EqualsCommand NumPad or Command EqualsCommand NumPad or Command Equals
Expand All Expand all folding blocks.
Ctrl+NumPad - or Ctrl+MinusCtrl+NumPad - or Ctrl+MinusCtrl+NumPad - or Ctrl+MinusCtrl+NumPad - or Ctrl+MinusCtrl+NumPad - or Ctrl+MinusCtrl+NumPad - or Ctrl+MinusCtrl+NumPad - or Ctrl+MinusCtrl+NumPad - or Ctrl+MinusMeta+NumPad - or Meta+MinusCommand NumPad - or Command MinusCommand NumPad - or Command MinusCommand NumPad - or Command MinusCommand NumPad - or Command Minus Collapse All Collapse all folding blocks.

Ctrl+numpad keys

Shortcut Function Use this shortcut to...
Ctrl+Numpad/
Ctrl+Slash or Ctrl+NumPad /Ctrl+Slash or Ctrl+NumPad /Ctrl+Slash or Ctrl+NumPad /Ctrl+Slash or Ctrl+NumPad /Alt+SemicolonCtrl+Slash, Ctrl+NumPad / or Ctrl+ColonCtrl+Slash, Ctrl+NumPad / or Ctrl+Shift+CCtrl+Slash or Ctrl+NumPad /Meta+Slash or Meta+NumPad /Command Slash or Command NumPad /Command Slash or Command NumPad /Command Slash or Command NumPad /Command Slash or Command NumPad /
Comment with Line Comment Comment/uncomment current line or selected block with line comments.
Ctrl+NumPad+ or Ctrl+EqualsCtrl+NumPad+ or Ctrl+EqualsCtrl+NumPad+ or Ctrl+EqualsCtrl+NumPad+ or Ctrl+EqualsCtrl+NumPad+ or Ctrl+EqualsCtrl+NumPad+ or Ctrl+EqualsCtrl+NumPad+ or Ctrl+EqualsCtrl+NumPad+ or Ctrl+EqualsMeta+NumPad+ or Meta+EqualsCommand NumPad or Command EqualsCommand NumPad or Command EqualsCommand NumPad or Command EqualsCommand NumPad or Command Equals
Ctrl+=
Expand All Expand all folding blocks.
Ctrl+NumPad - or Ctrl+MinusCtrl+NumPad - or Ctrl+MinusCtrl+NumPad - or Ctrl+MinusCtrl+NumPad - or Ctrl+MinusCtrl+NumPad - or Ctrl+MinusCtrl+NumPad - or Ctrl+MinusCtrl+NumPad - or Ctrl+MinusCtrl+NumPad - or Ctrl+MinusMeta+NumPad - or Meta+MinusCommand NumPad - or Command MinusCommand NumPad - or Command MinusCommand NumPad - or Command MinusCommand NumPad - or Command Minus Collapse All Collapse all folding blocks.

Ctrl+Function (F) keys

Shortcut Function Use this shortcut to...
Ctrl+F1Ctrl+F1Ctrl+1Ctrl+F1Ctrl+F1Ctrl+F1 or Alt+TCtrl+F1Ctrl+F1Meta+F1Command F1Command F1Command F1Command F1 Error Description Show an error or warning description at the caret.
Ctrl+F3Ctrl+F3Ctrl+3Ctrl+F3Ctrl+F3Ctrl+F3Ctrl+F3Ctrl+F12Meta+EFindWordAtCaretCommand F3FindWordAtCaretCommand F3 Find Word at Caret Search in the editor for the word where the caret is currently located.
Ctrl+F6Ctrl+F6Ctrl+6Ctrl+F6Ctrl+F6Ctrl+F6Ctrl+F6Shift+Alt+CMeta+F6Command F6Command F6Alt Command CCommand F6 Change Method Signature Refactor a selected method signature and update all references.
Ctrl+F7Ctrl+F7Ctrl+7Ctrl+F7Ctrl+F7Ctrl+Shift+F7 or Shift+F12Ctrl+F7Ctrl+Shift+GMeta+F7Command F7Command F7Shift Command UCommand F7 Find Usages in File Initiate search for usages.
Ctrl+F8Ctrl+F8Ctrl+8Ctrl+F8Ctrl+F8F9Ctrl+F8Ctrl+Shift+B or Ctrl+F8Ctrl+BCommand F8Command F8Shift Command BShift F7 Toggle Breakpoint Toggle breakpoint at caret.
Ctrl+F9Ctrl+F9Ctrl+9Ctrl+F9Ctrl+F9F7F11Ctrl+F9 or Ctrl+BMeta+F9Command F9Command F9Command BShift Alt Command F5 Make Project Compile all modified and dependent files in a project.
Ctrl+F11Ctrl+F11Ctrl+F11Ctrl+F11Ctrl+F11Ctrl+F11Ctrl+F11Ctrl+F11Alt+Meta+F6Alt F3Command F11Alt F3Shift Alt F6 Toggle Bookmark with mnemonic. Turn bookmark with mnemonic on or off.
Ctrl+F12Ctrl+F12Ctrl+0Ctrl+F12Ctrl+F12Ctrl+F12Ctrl+F12 or Ctrl+Shift+F12Ctrl+F3 or Ctrl+OMeta+F12Command F12Command F12Command OCommand F12 File Structure Pop-up Show the current file structure in the File Structure pop-up window for quick navigation.

See Also

Procedures:

Reference:

Getting Started:

Web Resources: