Avoid Repetition with RubyMine's Recent Activities

July 9, 2013 Jared Carroll

During development, it’s common to view and edit the same group of related files, to navigate the same classes, and to run and rerun the same tests. An IDE that keeps track of recent activities can help simplify performing these types of repetitive development tasks. In this post, we’ll look at how to view and re-execute recent activities in RubyMine on OS X.

Recent Files

Reopen recently opened files with command + E.

recent-files.png

Reopen recently edited files with command + shift + E.

recently-edited-files.png

Recent Programs

Rerun recently run programs with control + option + R.

recent-programs.png

Debug a recently run program by holding down shift before selecting it.

Recent Navigations

Use command + [ and command + ] to move backward and forward through recent navigation commands. Navigation commands are listed in the “Navigate” menu item.

Recent Edits

Move backward through recent edits with command + shift + backspace.

Paste recently copied and cut content with command + shift + V.

paste-from-recent-buffers.png

Recent Find Usages

Rerun recent find usage searches from the Find tool window, command + 3, with command + E.

recent-find-usages.png

Console History

Re-execute recent Rails or IRB console commands in the Run tool window, command + 4, with command + E.

irb-console-history.png

Recent Commit Messages

Reuse recent commit messages in the Commit Changes dialog, command + K, with command + E.

recent-commit-messages.png

Don’t Repeat Yourself

Try to avoid performing an original task twice. If you open and close a file, re-open it from the recent files list. If you run a test, rerun it from the recent programs list. Do a task the long way once, then shorten it.

About the Author

Biography

Previous
A Rough Guide to Data Science
A Rough Guide to Data Science

If Big Data was last year's buzzword, Data Science may reach the same level of hype this year. There's no s...

Next
The Beauty and Curse of GitHub Issues
The Beauty and Curse of GitHub Issues

GitHub Issues features are amazing. Ticket tracking is a very hard thing to deal with – a project needs to ...

×

Subscribe to our Newsletter

!
Thank you!
Error - something went wrong!