"Focus on Start-up" option doesn't work in Intellij IDEA Ultimate
Answered
Hi there,
on my debug console I have 3 tabs, the debugger, the standard console and a specific log file. When I set the "focus on startup" option on the log tabs it never works, the module keeps focus on the debugger at startup. Actually this is not specific to the debugger window, it's on the run window too. On the debugger window the focus remains on the debugger tab, on the console window the focus remains on the console log.
Anyone got any suggestions?
I'm using Intellij IDEA 2021.2 (Ultimate Edition) on mac
BUILD #IU-212.4746.92
many thanks,
P.
Please sign in to leave a comment.
Hi Elektrovert Do you have Focus on Breakpoint option enabled for the debugger tab?
Please attach a couple of screenshots showing the problem and tool windows settings.
Thank you!
HI. you can use AHK to achieve what you want on windows
( i dont have mac so you need to find a aternative to AHK. )
First, I don't press the little "play" button on the toolbar to run my code. instead I use AHK to trigger the "Run" keystroke when I righ-click on the left-edge of my screen.
Then, to active the desired log tab. keep the "focus on startup" checked on all log tabs. this will bring the focus to the log window on startup, not to the desired log tab.
Finally, tell AHK to press the keystroke "select next tab", in my case "alt+right", immediately before the test runs, through the "before launch" configuration, or through the java `ProcessBuilder` api.
gist and video demo : FIX "Focus on Start-up" option doesn't work