RubyMine
 
Get RubyMine
You are viewing the documentation for an earlier version of RubyMine.

Macros

Last modified: 24 April 2024

Macros provide a convenient way to automate repetitive procedures you do frequently while writing code. You can record, edit, and play back macros, assign shortcuts to them, and share them. For example, you can create a macro for reformatting a file when saving it Ctrl0S.

  • Macros can be used to combine a sequence of editor-related actions within a file.

  • You can't record button clicks, navigating to popups, and accessing tool windows, menus, and dialogs.

A temporary macro can be used without a name. For permanent macros, assign unique names.