Is it possible to detect when the Console window is closed / minimized Nick Pratt 创建于 2014年05月08日 22:12 IntelliJ 13.x - Is it possible to be notified and/or detect when the run/debug console window is closed and/or minimized? If so, how?RegardsNick
I found something to detect closure:
I have a related question, how to open a tool window with the right console, when you have only a reference to the console?
Found it:
Of course it will not work for JUnit and other types of executions, I need to find out where to get ExecutionId so I can match it to RunContentDescriptor#getExecutionId...
Found it again :D
Then I can bring the right tool window with the right tab on the foreground: