Skip to content

Instantly share code, notes, and snippets.

@emmahyde
Last active February 21, 2024 03:14
Show Gist options
  • Save emmahyde/507061297c90b9bc3c082418737491b1 to your computer and use it in GitHub Desktop.
Save emmahyde/507061297c90b9bc3c082418737491b1 to your computer and use it in GitHub Desktop.
RubyMine Shortcuts

Searching

Shortcut Function
⌘F, ⌘⇧F Find in File, Find in Project
⌘R, ⇧⌘R Replace in file, Replace in project
⌘⇧A Search RubyMine Actions
⌘⇧O Search Filenames
⌘⌥O Search Symbols (methods, classnames, etc.)
⌘ + LClick See Declaration/Usages
(if it is unable to choose one, a menu with the possibilities opens)
⇧⇧ Search Anything
⇧F6 Smart Rename Field

Navigation

Shortcut Function
⌘+[, ⌘+] Iterates through your page movement history
(I use this in tandem with Go To Declaration a lot; go check out the definition of the method and then ⌘[ to get back to what I was doing])
⇧⌘+[, ⇧⌘+] Iterates through open tabs
⌘⌥+L Auto-Format Highlighted Section
(if no section highlighted, format entire document)
⇧⌥+↑, ⇧⌥+↓ Move current line up/down
⇧⌘+↑, ⇧⌘+↓ Move current block up/down

Debugging

Shortcut Function
⌃D Start Debug (selected profile)
⌘R Rerun
⌘F2 Stop
⌘⌥R Resume (Skip To Next Breakpoint)
F8 Step Over
F7 Step Into
⇧F8 Step Out Of
⌘⇧F8 Manage All Breakpoints

Customs That Are Worth Adding

Screenshot 2024-02-20 at 22 10 01 Screenshot 2024-02-20 at 22 11 17

Debug "Interactive Console" Tab Settings:

Screenshot 2024-02-20 at 21 58 47

Debug "Console" Tab Settings:

Screenshot 2024-02-20 at 21 58 58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment