How to make IntelliJ IDEA window active after run finishes, similar to "Focus application on breakpoint"?
I noticed that IntelliJ IDEA has a "Focus application on breakpoint" option that automatically makes the window active when the debugger hits a breakpoint. I would like to achieve similar behavior after a regular test run or build completion.
I’m using IntelliJ IDEA IntelliJ IDEA 2024.1.4 (Ultimate Edition) for development with Kotlin, and my tests are written using Unit. I’ve tried various settings and searched for plugins, but haven’t found a suitable solution yet.
Is there a similar feature or plugin that can automatically activate the IntelliJ IDEA window after a test or build completes? This would help me maintain context at work while still being able to switch to other windows until the build finishes.
I would appreciate any advice or recommendations.
Please sign in to leave a comment.
Currently, this behavior is not supported. I created a new feature request on our issue tracker: https://youtrack.jetbrains.com/issue/IJPL-164481. Please vote for it and follow for progress updates.
On the other hand you could try enabling sound notification on test execution finish or build completed in Settings (
⌘ + ,
orCtrl + Alt + S
) > Appearance & Behavior > Notifications.