RubyMine 5.4.3 Web Help

FunctionShortcutUse this shortcut to...
EnterEnterEnterEnterEnterEnterEnterEnterEnterEnterEnterEnterEnterEnter Depending on the context:
  • In a lookup list: select an item.
  • In the editor: enter a new line and set the caret at its beginning.
TabTabTabTabTabTabTabTabTabTabTabTabTabTab In the editor:
  • With selection: indent selected lines.
  • Without selection: insert a tab symbol (or corresponding number of space characters).
In a lookup list:
  • No code after the caret: select an item.
  • Some code after the caret: select an item and substitute the code after the caret with it.
DeleteDeleteDeleteDeleteDeleteDelete or Ctrl+DDeleteDeleteDeleteDelete or Meta+BackspaceDeleteDeleteDelete or BackspaceDelete or Meta BackspaceDepending on the context:
  • In the editor: delete selected symbol/block.
  • In a usage view: exclude a selected item.
  • In other views: remove selected items.
BackspaceBackspace or Shift+BackspaceBackspace or Shift+BackspaceBackspace or Shift+BackspaceBackspace or Shift+BackspaceBackspace or Shift+BackspaceBackspace or Shift+BackspaceBackspace or Shift+BackspaceBackspace or Shift+BackspaceBackspace or Shift+BackspaceBackspace or Shift BackspaceBackspace or Shift BackspaceBackspace or Shift BackspaceBackspace or Shift BackspaceDelete a character to the left of the caret.
UndoCtrl+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+ZMeta ZMeta ZMeta ZMeta ZUndo last operation.
RedoCtrl+Shift+Z or Alt+Shift+BackspaceCtrl+Shift+Z or Alt+Shift+BackspaceCtrl+Shift+Z or Alt+Shift+BackspaceCtrl+Shift+Z or Alt+Shift+BackspaceCtrl+Shift+Z or Alt+Shift+MinusCtrl+Y or Ctrl+Shift+ZCtrl+Shift+Z, Alt+Shift+Backspace or Ctrl+YCtrl+YMeta+Shift+Z or Alt+Shift+BackspaceMeta Shift Z or Alt Shift BackspaceMeta Shift Z or Alt Shift BackspaceMeta Shift ZMeta Shift Z or Alt Shift BackspaceRedo last undone operation.
CutCtrl+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+DeleteMeta X or Shift DeleteMeta X or Shift DeleteMeta X or Shift DeleteMeta X or Shift DeleteCut a current line or a selected code block to the Clipboard.
CopyCtrl+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+InsertMeta C or Meta InsertMeta C or Meta InsertMeta C or Meta InsertMeta C or Meta InsertCopy a current line or a selected code block to the Clipboard.
PasteCtrl+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+InsertMeta V or Shift InsertMeta V or Shift InsertMeta V or Shift InsertMeta V or Shift InsertPaste from the Clipboard to the caret location.
Paste from HistoryCtrl+Shift+V or Ctrl+Shift+InsertCtrl+Shift+V or Ctrl+Shift+InsertCtrl+Shift+V or Ctrl+Shift+InsertCtrl+Shift+V or Ctrl+Shift+InsertAlt+YCtrl+Shift+V or Ctrl+Shift+InsertCtrl+Shift+V or Ctrl+Shift+InsertCtrl+Shift+V or Ctrl+Shift+InsertMeta+Shift+V or Meta+Shift+InsertMeta Shift V or Meta Shift InsertMeta Shift V or Meta Shift InsertMeta Shift V or Meta Shift InsertMeta Shift V or Meta Shift InsertPaste selected entry from the Clipboard to the caret location.
UpUpUpUpUpUp or Ctrl+PUpUpUpUpUpUpUp or Control PUpMove the caret one line up.
Up with SelectionShift+UpShift+UpShift+UpShift+UpShift+UpShift+UpShift+UpShift+UpShift+UpShift UpShift UpShift UpShift UpMove the caret one line up selecting the text.
DownDownDownDownDownDown or Ctrl+NDownDownDownDownDownDownDown or Control NDownMove the caret one line down.
Down with SelectionShift+DownShift+DownShift+DownShift+DownShift+DownShift+DownShift+DownShift+DownShift+DownShift DownShift DownShift DownShift DownMove the caret one line down selecting the text.
LeftLeftLeftLeftLeftLeft or Ctrl+BLeftLeftLeftLeftLeftLeftLeft or Control BLeftMove the caret one character to the left.
Left with SelectionShift+LeftShift+LeftShift+LeftShift+LeftShift+LeftShift+LeftShift+LeftShift+LeftShift+LeftShift LeftShift LeftShift LeftShift LeftMove the caret one character to the left selecting the text.
RightRightRightRightRightRight or Ctrl+FRightRightRightRightRightRightRight or Control FRightMove the caret one character to the right.
Right with SelectionShift+RightShift+RightShift+RightShift+RightShift+RightShift+RightShift+RightShift+RightShift+RightShift RightShift RightShift RightShift RightMove the caret one character to the right selecting the text.
Go to Page BottomCtrl+Page DownCtrl+Page DownCtrl+Page DownCtrl+Page DownCtrl+Page DownCtrl+Page DownAlt+Shift+Page DownCtrl+Page DownMeta+Page DownMeta Page DownMeta Page DownMeta Page DownMeta Page DownMove the caret down to the page bottom.
Go to Page Bottom with SelectionCtrl+Shift+Page DownCtrl+Shift+Page DownCtrl+Shift+Page DownCtrl+Shift+Page DownCtrl+Shift+Page DownCtrl+Shift+Page DownCtrl+Shift+Page DownCtrl+Shift+Page DownMeta+Shift+Page DownMeta Shift Page DownMeta Shift Page DownMeta Shift Page DownMeta Shift Page DownMove the caret down to the page bottom, selecting the text.
Go to Page TopCtrl+Page UpCtrl+Page UpCtrl+Page UpCtrl+Page UpCtrl+Page UpCtrl+Page UpAlt+Shift+Page UpCtrl+Page UpMeta+Page UpMeta Page UpMeta Page UpMeta Page UpMeta Page UpMove the caret up to the page top.
Go to Page Top with SelectionCtrl+Shift+Page UpCtrl+Shift+Page UpCtrl+Shift+Page UpCtrl+Shift+Page UpCtrl+Shift+Page UpCtrl+Shift+Page UpCtrl+Shift+Page UpCtrl+Shift+Page UpMeta+Shift+Page UpMeta Shift Page UpMeta Shift Page UpMeta Shift Page UpMeta Shift Page UpMove the caret up to the page bottom, selecting the text.
Page DownPage DownPage DownPage DownPage DownPage Down or Ctrl+VPage DownPage DownPage DownPage DownPage DownPage DownPage DownPage DownMove the caret one page down.
Page Down with SelectionShift+Page DownShift+Page DownShift+Page DownShift+Page DownShift+Page DownShift+Page DownShift+Page DownShift+Page DownShift+Page DownShift Page DownShift Page DownShift Page DownShift Page DownMove the caret one page down, selecting the text.
Page UpPage UpPage UpPage UpPage UpPage Up, Ctrl+Z or Alt+VPage UpPage UpPage UpPage UpPage UpPage UpPage UpPage UpMove the caret one page up.
Page Up with SelectionShift+Page UpShift+Page UpShift+Page UpShift+Page UpShift+Page UpShift+Page UpShift+Page UpShift+Page UpShift+Page UpShift Page UpShift Page UpShift Page UpShift Page UpMove the caret one page up, selecting the text.
Scroll DownCtrl+DownCtrl+DownCtrl+DownCtrl+DownCtrl+DownCtrl+DownCtrl+DownCtrl+DownMeta+DownMeta DownMeta DownMeta DownMeta DownScroll the text one line down.
Scroll to CenterCtrl+MCtrl+MCtrl+MCtrl+MCtrl+MCtrl+MCtrl+MCtrl+MCtrl+MNothingNothingNothingMeta Shift MScroll a line at caret to the center of the screen.
Scroll UpCtrl+UpCtrl+UpCtrl+UpCtrl+UpCtrl+UpCtrl+UpCtrl+UpCtrl+UpMeta+UpMeta UpMeta UpMeta UpMeta UpScroll the text one line up.
Move to Line EndEndEndEndEndEnd or Ctrl+EEndEndEndEnd or Meta+RightEnd or Meta RightEnd or Meta RightEnd, Meta Right or Control EEnd or Meta RightMove the caret to the end of line.
Move to Line End with SelectionShift+EndShift+EndShift+EndShift+EndShift+EndShift+EndShift+EndShift+EndShift+End or Meta+Shift+RightShift End or Meta Shift RightShift End or Meta Shift RightShift End or Meta Shift RightShift End or Meta Shift RightMove the caret to the end of line, selecting the text.
Move to Line StartHomeHomeHomeHomeHome, Ctrl+A or Alt+MHomeHomeHomeHome or Meta+LeftHome or Meta LeftHome or Meta LeftHome, Meta Left or Control AHome or Meta LeftMove the caret to the beginning of line.
Move to Line Start with SelectionShift+HomeShift+HomeShift+HomeShift+HomeShift+HomeShift+HomeShift+HomeShift+HomeShift+Home or Meta+Shift+LeftShift Home or Meta Shift LeftShift Home or Meta Shift LeftShift Home or Meta Shift LeftShift Home or Meta Shift LeftMove the caret to the beginning of line, selecting the text.
Move to Next WordCtrl+RightCtrl+RightCtrl+RightCtrl+RightCtrl+Right, Alt+F or Escape, Ctrl+FCtrl+RightCtrl+RightCtrl+RightAlt+RightAlt RightAlt RightAlt RightAlt RightMove the caret to the next word.
Move to Next Word with SelectionCtrl+Shift+RightCtrl+Shift+RightCtrl+Shift+RightCtrl+Shift+RightCtrl+Shift+RightCtrl+Shift+RightCtrl+Shift+RightAlt+Shift+Right or Ctrl+Shift+RightAlt+Shift+RightAlt Shift RightAlt Shift RightAlt Shift RightAlt Shift RightMove the caret to the next word, selecting it.
Move to Previous WordCtrl+LeftCtrl+LeftCtrl+LeftCtrl+LeftCtrl+Left, Alt+B or Escape, Ctrl+BCtrl+LeftCtrl+LeftCtrl+LeftAlt+LeftAlt LeftAlt LeftAlt LeftAlt LeftMove the caret to the previous word.
Move to Previous Word with SelectionCtrl+Shift+LeftCtrl+Shift+LeftCtrl+Shift+LeftCtrl+Shift+LeftCtrl+Shift+LeftCtrl+Shift+LeftCtrl+Shift+LeftAlt+Shift+Left or Ctrl+Shift+LeftAlt+Shift+LeftAlt Shift LeftAlt Shift LeftAlt Shift LeftAlt Shift LeftMove the caret to the previous word, selecting it.
Move to Text EndCtrl+EndCtrl+EndCtrl+EndCtrl+EndCtrl+End or Alt+Shift+PeriodCtrl+EndCtrl+EndCtrl+EndMeta+EndMeta EndMeta EndMeta EndMeta EndMove the caret to the end of text.
Move to Text End with SelectionCtrl+Shift+EndCtrl+Shift+EndCtrl+Shift+EndCtrl+Shift+EndCtrl+Shift+EndCtrl+Shift+EndCtrl+Shift+EndCtrl+Shift+EndMeta+Shift+EndMeta Shift EndMeta Shift EndMeta Shift EndMeta Shift EndMove the caret to the end of text, selecting it.
Move to Text StartCtrl+HomeCtrl+HomeCtrl+HomeCtrl+HomeCtrl+Home, Alt+Shift+Comma or Escape, CommaCtrl+HomeCtrl+HomeCtrl+HomeMeta+HomeMeta HomeMeta HomeMeta HomeMeta HomeMove the caret to the beginning of text.
Move to Text Start with Selection.Ctrl+Shift+HomeCtrl+Shift+HomeCtrl+Shift+HomeCtrl+Shift+HomeCtrl+Shift+HomeCtrl+Shift+HomeCtrl+Shift+HomeCtrl+Shift+HomeMeta+Shift+HomeMeta Shift HomeMeta Shift HomeMeta Shift HomeMeta Shift HomeMove the caret to the beginning of text, selecting it.
Select AllCtrl+ACtrl+ACtrl+ACtrl+ACtrl+X, HCtrl+ACtrl+ACtrl+AMeta+AMeta AMeta AMeta AMeta ASelect the entire text opened in the editor.
Delete Line at CaretCtrl+YCtrl+YCtrl+YCtrl+YCtrl+YCtrl+Shift+LCtrl+ECtrl+DMeta+YMeta YMeta YMeta DMeta YDelete the line where the caret is currently located.
Delete to Word EndCtrl+DeleteCtrl+DeleteCtrl+DeleteCtrl+DeleteCtrl+DeleteCtrl+DeleteCtrl+DeleteCtrl+DeleteAlt+DeleteAlt DeleteAlt DeleteMeta DeleteAlt DeleteDelete the word starting from the current caret location up to the word end.
Delete to Word StartCtrl+BackspaceCtrl+BackspaceCtrl+BackspaceCtrl+BackspaceCtrl+Backspace, Alt+Backspace or Escape, BackspaceCtrl+BackspaceCtrl+BackspaceCtrl+BackspaceAlt+BackspaceAlt BackspaceAlt BackspaceMeta BackspaceAlt BackspaceDelete the word starting from the current caret location up to the word start.
Toggle Insert/OverwriteInsertInsertInsertInsertInsertInsertInsertInsertInsertInsertInsertShift BackspaceInsertToggle insert/overwrite modes.
Duplicate Line or BlockCtrl+DCtrl+DCtrl+DCtrl+DMeta+DCtrl+DCtrl+D, Ctrl+Shift+Down or Ctrl+Shift+UpCtrl+DCtrl+Shift+DMeta DMeta DMeta DMeta DDuplicate selected block or the line at the caret.
Toggle CaseCtrl+Shift+UCtrl+Shift+UCtrl+Shift+UCtrl+Shift+UCtrl+Shift+UCtrl+Shift+UCtrl+U, SCtrl+Shift+U, Ctrl+Shift+X or Ctrl+Shift+YCtrl+G, Ctrl+U or Ctrl+Shift+UMeta Shift UMeta Shift UMeta Shift X or Meta Shift YMeta Shift UToggle case of the selected text block.
Move to Code Block EndCtrl+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+EMeta Close BracketMeta Close BracketControl Close Bracket or Control Shift PControl Close Bracket or Control EMove the caret to the current code block end, highlighting the block limits.
Move to Code Block End with SelectionCtrl+Shift+Close BracketCtrl+Shift+Close BracketCtrl+Shift+Close BracketCtrl+Shift+Close BracketCtrl+Shift+Close Bracket or Ctrl+Alt+Shift+FCtrl+Shift+Close BracketCtrl+Shift+Close BracketCtrl+Shift+Close BracketCtrl+Shift+Close Bracket or Ctrl+Shift+EMeta Shift Close BracketMeta Shift Close BracketMeta Alt Shift Close BracketControl Shift Close Bracket or Control Shift EMove the caret to the current code block end, selecting the code beginning from the initial caret location.
Move to Code Block StartCtrl+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+AMeta Open BracketMeta Open BracketMeta Alt Open BracketControl Open Bracket or Control AMove the caret to the current code block start, highlighting the block limits.
Move to Code Block Start with SelectionCtrl+Shift+Open BracketCtrl+Shift+Open BracketCtrl+Shift+Open BracketCtrl+Shift+Open BracketCtrl+Shift+Open Bracket or Ctrl+Alt+Shift+BCtrl+Shift+Open BracketCtrl+Shift+Open BracketCtrl+Shift+Open BracketCtrl+Shift+Open Bracket or Ctrl+Shift+AMeta Shift Open BracketMeta Shift Open BracketMeta Alt Shift Open BracketControl Shift Open Bracket or Control Shift AMove the caret to the current code block start, selecting the code beginning from the initial caret location.
Start New LineShift+EnterShift+EnterShift+EnterShift+EnterShift+EnterShift+EnterShift+EnterShift+EnterShift+EnterShift EnterShift EnterShift EnterShift EnterStart a new line after the current one positioning the caret in accordance with the current indentation level.
Join LinesCtrl+Shift+JCtrl+Shift+JCtrl+Shift+JCtrl+Shift+JCtrl+Shift+JCtrl+Shift+JCtrl+Shift+JCtrl+Shift+JCtrl+Shift+JControl Shift JControl Shift JControl Shift JControl Shift JConcatenate the selected lines into one or concatenate the line where the caret is currently located with the next line.
Split LineCtrl+EnterCtrl+EnterCtrl+EnterCtrl+EnterCtrl+OCtrl+EnterCtrl+EnterCtrl+EnterMeta+EnterMeta EnterMeta EnterMeta EnterMeta Enter or Control O Split the selected line at the point where the caret is located, leaving the caret at the end of the first line.
Select Word at CaretCtrl+WCtrl+WCtrl+WCtrl+WCtrl+Alt+WCtrl+WAlt+Shift+PeriodAlt+Shift+UpCtrl+W or Meta+Shift+BMeta WMeta WControl Shift UpControl WSelect successively increasing code blocks starting from the current caret location.
Unselect Word at CaretCtrl+Shift+WCtrl+Shift+WCtrl+Shift+WCtrl+Shift+WCtrl+Shift+WCtrl+Shift+WAlt+Shift+CommaAlt+Shift+DownCtrl+Shift+WMeta Shift WMeta Shift WControl Shift DownControl Shift WRemove sequentially the selection made by the action.
Indent SelectionTabTabTabTabTabTabAlt+Shift+Right or TabTabMeta+Close BracketTabTabTabTabMove the selected block to the next indentation level.
Unindent SelectionShift+TabShift+TabShift+TabShift+TabShift+TabShift+TabAlt+Shift+Left or Shift+TabShift+TabMeta+Open BracketShift TabShift TabShift TabShift TabMove the selected block to the previous indentation level.
Auto-Indent LinesCtrl+Alt+ICtrl+Alt+ICtrl+Alt+ICtrl+Alt+ICtrl+Alt+I or Ctrl+Alt+QCtrl+Alt+ICtrl+Alt+ICtrl+IMeta+Alt+Open BracketMeta Alt IMeta Alt IMeta IMeta Alt IIndent the current line or selected block according to the Code Style settings.

See Also

Procedures:

Reference:

Getting Started:

Web Resources: