128 Shortcuts for JetBrains RubyMine (MacOS)  [edit]

minusplus1. General Shortcuts
Command+0..9 Open Corresponding Tool Window
Command+S Save All
Command+Option+Y Synchronize
Command+Ctrl+F Toggle Full Screen Mode
Command+Shift+F12 Toggle Maximize Editor
F12 Go back to Previous Tool Window
Esc Go to Editor
Shift+Esc Hide Active or Last Active Window
Command+Tab Switch Editor Tabs and IDE Tool Windows
Command+, Open Setting Dialog
Command+W Close Current Active Tab
Ctrl+` Quick Switch Current Scheme
Option+Shift+F Add to Favourites
Option+Shift+I Inspect Current file with Current file

▲ up

minusplus2. Find and Replace
Command+F Find
Command+R Replace
Double Shift Search Everywhere
Command+G Find Next
Command+Shift+G Find Previous
Command+Shift+F Find in Path
Command+Shift+R Replace in Path

▲ up

minusplus3. Editing Shortcuts
Ctrl+Spacebar Basic Code Completion
Command+Shift+Enter Complete Current Statement
Ctrl+J Quick Documentation Lookup
Command+Mouse Over Brief Info
Command+Shift+Enter Complete Statement
Command+P Parameter Information
Ctrl+O Override Methods
Command+N Generate Code
Option+Shift+Up Arrow/Down Arrow Move Line(Selection) Up/Down
Command+Option+T Surround With..(Begin..End etc.)
Command+/ Comment/Uncomment with Line Comment
Command+Option+/ Comment/Uncomment with Block Comment
Command+F1 Show Description of Error or Warning at Caret
Tab Indent Selected Lines
Shift+Tab Unindent Selected Lines
Option+Enter Show Intention Actions and Quick Fixes
Command+Option+L Reformat Code
Command+D Duplicate Current Line
Command+X/Command+C/Command+V Cut/Copy/Paste Current line to Clipboard
Command+Shift+V Paste from Buffer
Ctrl+Option+I AutoIndent Lines
Command+Backspace Delete line at caret
Shift+Enter Start New line
Option+Enter Show Intention Actions/Quick-Fixes
Option+Down Arrow Decrease Current Selection to Previous State
Option+Up Arrow Select Successively Incresing Code blocks
Command+Shift++ Expand All
Command+Shift+- Collapse All
Command++/Command+- Expand/Collapse Code block
Command+Del Delete to end word
Command+Backspace Delete to word start
Command+Shift+Option+] Select till code block end
Command+Shift+Option+[ Select till code block start
Shift+Option+U Toggle Carnel/Snake Case
Command+Shift+U Switch case for Word at Caret or Selected block

▲ up

minusplus4. Refactoring
F5 Copy
F6 Move
Shift+F6 Rename
Command+Option+N Inline
Command+Option+Shift+T Refactor this Quick List
Command+Option+M Extract Method
Command+Option+F Extract Field
Command+Option+P Extract parameter
Command+Option+C Extract Constant
Command+Option+V Extract Variable

▲ up

minusplus5. Navigation Shortcuts
Command+O Go to Class
Command+Shift+O Go to File
Command+Option+Shift+O Go to Symbol
F2 Next highlighted Error
Shift+F2 Previous highlighted Error
Command+PgUp Go to Top of Page
Command+PgDn Go to Bottom of Page
Command+L Go to Line
Command+E Recent files Popup
Option+F1 Select current file/Symbol in any View
Ctrl+Left Arrow/Ctrl+Right Arrow Go to Next/Previous Tab
Command+B Go to Declaration
Command+Shift+B Go to Type Declaration
Command+Option+Left Arrow/Command+Option+Right Arrow Navigate back/forward
Command+Shift+Backspace Go to last edit location
Command+U Go to super method/super class
Ctrl+H Type Hierarchy
Shift+F6 Toggle Bookmark
Option+F3 Toggle Bookmark with Mnemonic
Shift+F3 Show Bookmarks
Ctral+0..9 Go to Numbered Bookmark
Command+Up Arrow Show Navigation bar
F4 Edit Source
Command+Down Arrow View Source
Command+Shift+Option+U Show Diagram
Command+Option+U Diagram Popup
Command+F12 File Structure Popup
Command+]/Command+[ Move to code block end/start
Ctrl+Up Arrow/Ctrl+Down Arrow Go to Previous/Next Method
Command+Shift+I Open Quick Definition Lookup

▲ up

minusplus6. Debugging
Option+F9 Run to Cursor
Shift+F8 Step Out
F8 Step Over
F7 Step Into
Command+Option+F8 Quick Evaluate Expression
Option+F8 Evaluate Expression
Command+F8 Toggle Breakpoint
Command+Shift+F8 View Breakpoints
F9 Resume Program
Option+F10 Show Execution Point

▲ up

minusplus7. Compile and Run
Option+Shift+F10 Open Run Configuration
Option+Shift+F9 Open Debug Configuration
Shift+F10 Run
Shift+F9 Debug
Command+Option+R Run Rake Task

▲ up

minusplus8. Usage Search
Command+F7 Find Usage in File
Option+F7 Find Usage
Command+Shift+F7 Highlight Usage in File
Command+Option+F7 Show Usage

▲ up

minusplus9. VCS/Local History
Command+D View Diffrenece
Command+K Commit Project to VCS
Command+T Update Project from VCS
Option+Shift+C View Recent Changes
Ctrl+V VCS Operations Popup

▲ up

minusplus10. Live Templates
Command+J Insert Live Template
Command+Option+J Surround with Live Template

▲ up

minusplus11. Rails
Command+Ctrl+Up Arrow Navigate to Rails Model/View/Controllers
Option+F2 Preview Rails View in Browser
Command+R Reload Application Sources in Rails Console
Command+Shift+. Insert <%= %> in RHTML
Command+Option+G Run Rails Generator
Command+Option+R Ruby/Rail Quick List

▲ up


Uploaded by rank17, updated on 4/23/2017