Single key for Run-last, Run-current and Rerun (+ debug)?
Answered
I've been using IntelliJ for 8 years now, having previously used Eclipse. I had to use Eclipse for the past few years for C++ development and I hate it now, after having tasted and gotten used to the convenience and smarts of IDEA and CLion.
That said, there's one “action” in Eclipse that I still miss, and I have been missing it for all these years. I want a single keyboard shortcut that can do all of these:
- Run the current file, if it happens to be runnable, otherwise
- Run last configuration, if any is selected
- Kill+rerun if the selected run configuration if already running
- (optionally: Run (as multiple instances) if the selected run configuration if configured as such)
Similarly an action for Debug that does the same things.
Does such an action exist? Would it be considered for implementation?
1 comment
Sort by
Date
Votes

As I understand, this sequence is not available with a single keymap. For windows keymap, Shift + F10 (Run) and Shift + F9 (Debug) will give you the functionality you're looking for, similar to Ctrl + F11 in Eclipse for running the last configuration. While there's no direct single shortcut for "kill and rerun," the combination of Ctrl + F2 to stop and Shift + F10 to restart is a quick way to achieve the same outcome. You can log your feature in https://youtrack.jetbrains.com/issues/IJPL so other people can vote and discuss it as well.
Please sign in to leave a comment.