RubyMine 6.3.0 Web Help

RubyMine as a keyboard-centric IDE suggests a keyboard shortcuts for most of its commands. In this topic, you can find a short list of the most indispensable of them, to make your first steps with RubyMine easy.

See the detailed list of default keyboard shortcuts in the Keyboard Shortcuts Reference and learn how to customize your preferred keymap in the Configuring Keyboard Shortcuts section.

Shortcut Description
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 Switch between views ( Project, Structure, etc.).
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 Switch between the tool windows and files opened in the editor.
Alt+HomeAlt+HomeAlt+HomeAlt+HomeAlt+HomeAlt+HomeAlt+HomeAlt+HomeAlt+HomeCommand Up or Alt HomeAlt HomeAlt Command BAlt Home Show the Navigation bar.
Ctrl+JCtrl+JCtrl+JCtrl+JCtrl+JCtrl+JCtrl+JCtrl+Shift+Alt+JMeta+JCommand JCommand JCommand JCommand J Insert a live template.
Ctrl+Alt+JCtrl+Alt+JCtrl+Alt+JCtrl+Alt+JCtrl+Alt+JCtrl+Alt+JCtrl+Alt+JCtrl+Alt+JAlt+Meta+JAlt Command JAlt Command JAlt Command JAlt Command J Surround with a live template.
F4F4F4F4F4F4F4F12 or Ctrl+Shift+EF4Command Down or F4F4F3F4 Edit an item from the Project or another tree view.
Alt+EnterAlt+EnterAlt+EnterAlt+EnterAlt+EnterAlt+EnterAlt+EnterAlt+Enter, Shift+Alt+J or Ctrl+Shift+MAlt+EnterAlt EnterAlt EnterCommand 1Alt Enter Show the list of available intention actions .
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+Shift+Slash or Ctrl+Shift+NumPad /Ctrl+Shift+Slash or Ctrl+Shift+NumPad /Ctrl+Shift+Slash or Ctrl+Shift+NumPad /Ctrl+Shift+Slash or Ctrl+Shift+NumPad /Ctrl+Shift+Slash or Ctrl+Shift+NumPad /Ctrl+Shift+Slash, Ctrl+Shift+NumPad / or Ctrl+Shift+ColonCtrl+Shift+Slash or Ctrl+Shift+NumPad /Ctrl+Shift+SlashCtrl+Shift+Slash, Ctrl+Shift+NumPad /, Shift+Meta+Slash or Shift+Meta+NumPad /Alt Command Slash, Alt Command NumPad /, Control Shift Slash, Control Shift NumPad /, Shift Command Slash or Shift Command NumPad /Control Shift Slash, Control Shift NumPad /, Shift Command Slash or Shift Command NumPad /Control Shift SlashControl Shift Slash, Control Shift NumPad /, Shift Command Slash or Shift Command NumPad /
Comment or uncomment a line or fragment of code with the line or block comment.
Ctrl+NCtrl+NCtrl+NCtrl+NShift+Alt+GCtrl+CommaCtrl+OCtrl+Shift+TMeta+N or Shift+Alt+CCommand OCommand NShift Command TCommand N
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
Find class or file by name.
Ctrl+DCtrl+DCtrl+DCtrl+DMeta+DCtrl+DCtrl+D, Ctrl+Shift+Down or Ctrl+Shift+UpCtrl+DCtrl+Shift+DCommand DCommand DCommand DCommand D Duplicate the current line or selection.
Ctrl+WCtrl+WCtrl+WCtrl+WCtrl+Alt+WCtrl+WShift+Alt+PeriodShift+Alt+UpCtrl+W or Shift+Meta+BAlt UpCommand WControl Shift UpControl W and Ctrl+Shift+WCtrl+Shift+WCtrl+Shift+WCtrl+Shift+WCtrl+Shift+WCtrl+Shift+WShift+Alt+CommaShift+Alt+DownCtrl+Shift+WAlt DownShift Command WControl Shift DownControl Shift W Incremental expression selection.
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 text string in the current file.
Ctrl+Shift+FCtrl+Shift+FCtrl+Shift+FCtrl+Shift+FCtrl+Shift+FCtrl+Shift+FCtrl+Shift+FCtrl+HShift+Meta+FShift Command FControl Shift FControl HShift Command F Find text in the project or in the specified directory. .
Ctrl+Shift+F7Ctrl+Shift+F7Ctrl+Shift+7Ctrl+Shift+F7Ctrl+Shift+F7Ctrl+Shift+F7Ctrl+Shift+F7Shift+Alt+O or Ctrl+Shift+F7Shift+Meta+F7Shift Command F7Shift Command F7Shift Command F7Shift Command F7 Quick view the usages of the selected symbol.
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+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
Expand or collapse a code block in the editor.
Ctrl+SpaceCtrl+SpaceCtrl+SpaceCtrl+SpaceAlt+SlashCtrl+SpaceCtrl+Space or Ctrl+Back SlashCtrl+SpaceCtrl+SpaceControl SpaceControl SpaceControl SpaceControl Space, Alt Escape or Shift Space Invoke code completion.
Ctrl+Shift+ACtrl+Shift+ACtrl+Shift+ACtrl+Shift+ACtrl+Shift+ACtrl+Shift+ACtrl+ICtrl+Shift+AShift+Meta+AShift Command AShift Command ACommand 3Shift Command A Find action by name
RailsNavigatePopupActionRailsNavigatePopupActionRailsNavigatePopupActionRailsNavigatePopupActionRailsNavigatePopupActionRailsNavigatePopupActionRailsNavigatePopupActionRailsNavigatePopupActionAlt+Meta+Down or Shift+Alt+Meta+DownRailsNavigatePopupActionRailsNavigatePopupActionRailsNavigatePopupActionRailsNavigatePopupAction Navigate to Rails components.

See Also

Procedures:

Reference:

Web Resources: