Shortcuts JetBrains RubyMine for MacOS

We present to your attention the shortcuts for the JetBrains RubyMine for MacOS which is used on the operating system MacOS, in this hotkeys description 128 of the most popular and important shortcuts are offered. You can also add your changes on our portal if you consider the data insufficiently complete or add a new program from the very beginning.

General Shortcuts

MacOS Description Edit Cancel Save & submit
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

Find and Replace

MacOS Description Edit Cancel Save & submit
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

Editing Shortcuts

MacOS Description Edit Cancel Save & submit
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

Refactoring

MacOS Description Edit Cancel Save & submit
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
MacOS Description Edit Cancel Save & submit
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

Debugging

MacOS Description Edit Cancel Save & submit
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

Compile and Run

MacOS Description Edit Cancel Save & submit
Option+Shift+F10 Open Run Configuration
Option+Shift+F9 Open Debug Configuration
Shift+F10 Run
Shift+F9 Debug
Command+Option+R Run Rake Task
MacOS Description Edit Cancel Save & submit
Command+F7 Find Usage in File
Option+F7 Find Usage
Command+Shift+F7 Highlight Usage in File
Command+Option+F7 Show Usage

VCS/Local History

MacOS Description Edit Cancel Save & submit
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

Live Templates

MacOS Description Edit Cancel Save & submit
Command+J Insert Live Template
Command+Option+J Surround with Live Template

Rails

MacOS Description Edit Cancel Save & submit
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
~~~ The end. Thank you for watching. Add page to bookmarks CTRL + D ~~~
Date of change: 24.01.2019
Page views: 1023
*Some of the keys listed may not work in older versions of the program