Shortcuts JetBrains RubyMine for MacOS

128 shortcuts2,273 views
Open Trainer

General Shortcuts

macOSAction
Command+0..9Open Corresponding Tool Window
Command+SSave All
Command+Option+YSynchronize
Command+Ctrl+FToggle Full Screen Mode
Command+Shift+F12Toggle Maximize Editor
F12Go back to Previous Tool Window
EscGo to Editor
Shift+EscHide Active or Last Active Window
Command+TabSwitch Editor Tabs and IDE Tool Windows
Command+,Open Setting Dialog
Command+WClose Current Active Tab
Ctrl+`Quick Switch Current Scheme
Option+Shift+FAdd to Favourites
Option+Shift+IInspect Current file with Current file

Find and Replace

macOSAction
Command+FFind
Command+RReplace
Double ShiftSearch Everywhere
Command+GFind Next
Command+Shift+GFind Previous
Command+Shift+FFind in Path
Command+Shift+RReplace in Path

Editing Shortcuts

macOSAction
Ctrl+SpacebarBasic Code Completion
Command+Shift+EnterComplete Current Statement
Ctrl+JQuick Documentation Lookup
Command+Mouse OverBrief Info
Command+Shift+EnterComplete Statement
Command+PParameter Information
Ctrl+OOverride Methods
Command+NGenerate Code
Option+Shift+Up Arrow/Down ArrowMove Line(Selection) Up/Down
Command+Option+TSurround With..(Begin..End etc.)
Command+/Comment/Uncomment with Line Comment
Command+Option+/Comment/Uncomment with Block Comment
Command+F1Show Description of Error or Warning at Caret
TabIndent Selected Lines
Shift+TabUnindent Selected Lines
Option+EnterShow Intention Actions and Quick Fixes
Command+Option+LReformat Code
Command+DDuplicate Current Line
Command+X/Command+C/Command+VCut/Copy/Paste Current line to Clipboard
Command+Shift+VPaste from Buffer
Ctrl+Option+IAutoIndent Lines
Command+BackspaceDelete line at caret
Shift+EnterStart New line
Option+EnterShow Intention Actions/Quick-Fixes
Option+Down ArrowDecrease Current Selection to Previous State
Option+Up ArrowSelect Successively Incresing Code blocks
Command+Shift++Expand All
Command+Shift+-Collapse All
Command++/Command+-Expand/Collapse Code block
Command+DelDelete to end word
Command+BackspaceDelete to word start
Command+Shift+Option+]Select till code block end
Command+Shift+Option+[Select till code block start
Shift+Option+UToggle Carnel/Snake Case
Command+Shift+USwitch case for Word at Caret or Selected block

Refactoring

macOSAction
F5Copy
F6Move
Shift+F6Rename
Command+Option+NInline
Command+Option+Shift+TRefactor this Quick List
Command+Option+MExtract Method
Command+Option+FExtract Field
Command+Option+PExtract parameter
Command+Option+CExtract Constant
Command+Option+VExtract Variable

Navigation Shortcuts

macOSAction
Command+OGo to Class
Command+Shift+OGo to File
Command+Option+Shift+OGo to Symbol
F2Next highlighted Error
Shift+F2Previous highlighted Error
Command+PgUpGo to Top of Page
Command+PgDnGo to Bottom of Page
Command+LGo to Line
Command+ERecent files Popup
Option+F1Select current file/Symbol in any View
Ctrl+Left Arrow/Ctrl+Right ArrowGo to Next/Previous Tab
Command+BGo to Declaration
Command+Shift+BGo to Type Declaration
Command+Option+Left Arrow/Command+Option+Right ArrowNavigate back/forward
Command+Shift+BackspaceGo to last edit location
Command+UGo to super method/super class
Ctrl+HType Hierarchy
Shift+F6Toggle Bookmark
Option+F3Toggle Bookmark with Mnemonic
Shift+F3Show Bookmarks
Ctral+0..9Go to Numbered Bookmark
Command+Up ArrowShow Navigation bar
F4Edit Source
Command+Down ArrowView Source
Command+Shift+Option+UShow Diagram
Command+Option+UDiagram Popup
Command+F12File Structure Popup
Command+]/Command+[Move to code block end/start
Ctrl+Up Arrow/Ctrl+Down ArrowGo to Previous/Next Method
Command+Shift+IOpen Quick Definition Lookup

Debugging

macOSAction
Option+F9Run to Cursor
Shift+F8Step Out
F8Step Over
F7Step Into
Command+Option+F8Quick Evaluate Expression
Option+F8Evaluate Expression
Command+F8Toggle Breakpoint
Command+Shift+F8View Breakpoints
F9Resume Program
Option+F10Show Execution Point

Compile and Run

macOSAction
Option+Shift+F10Open Run Configuration
Option+Shift+F9Open Debug Configuration
Shift+F10Run
Shift+F9Debug
Command+Option+RRun Rake Task

Usage Search

macOSAction
Command+F7Find Usage in File
Option+F7Find Usage
Command+Shift+F7Highlight Usage in File
Command+Option+F7Show Usage

VCS/Local History

macOSAction
Command+DView Diffrenece
Command+KCommit Project to VCS
Command+TUpdate Project from VCS
Option+Shift+CView Recent Changes
Ctrl+VVCS Operations Popup

Live Templates

macOSAction
Command+JInsert Live Template
Command+Option+JSurround with Live Template

Rails

macOSAction
Command+Ctrl+Up ArrowNavigate to Rails Model/View/Controllers
Option+F2Preview Rails View in Browser
Command+RReload Application Sources in Rails Console
Command+Shift+.Insert in RHTML
Command+Option+GRun Rails Generator
Command+Option+RRuby/Rail Quick List