How do I create a hotkey for compound actions in IntelliJ IDEA?

176 views Asked by At

Is it possible to create a script of multiple actions/tasks in IntelliJ IDEA and trigger them with a single hotkey/abbreviation?

I want to periodically do:

1 Reimport all maven projects
2 Build -> Rebuild Project
3 Run Application

Can I trigger these 3 actions with a single hotkey/abbreviation.

Thank you.

1

There are 1 answers

2
apetranzilla On BEST ANSWER

It sounds like you want macros, under Edit -> Macros.

Once you've recorded a macro you can bind a shortcut to it in keymap settings.