Java Test Auto 'Rerun automatically' steals focus from code
When I activate ‘Rerun automatically’ for test cases it keep stealing focus away from the editor to the test run. Making it virtually impossible to work with, since you need to re-focus back to the editor every few seconds.
I have opened all the configurations and configuration templates and removed all “Before Launch: Focus/open tool” but it still keeps focusing.
I have also checked the “… → Test Runner Settings" and cannot see anything I can change there either.
Please help. The Auto Rerun functionality is useless without the ability of making the tool window not steal focus.
It does not steal focus if I hide the tool window. But I actually want to be able to see the status of my test cases while writing the code.
Please sign in to leave a comment.
Hello Pontus Eliason,
Can you please share a sample project that reproduces the issue and exported IDE settings (File | Manage IDE Settings | Export Settings)? You can upload it to https://uploads.jetbrains.com and share the upload ID.
I have the same issue and it can be reproduces very simple:
The result: It will try to rebuild the project but fails and the focus will go into the Build output.
Hello,
A similar issue is reported in https://youtrack.jetbrains.com/issue/IDEA-335769
Please vote for it to prioritize it for the development team and receive notifications from the ticket.