Get list of windows associated with the project

On  Mac I'm able to detach either of the editor tabs, and dropping them  next to the intellij window would create an other window with an editor  in it. I've looked through the documentation what I could find (,  but I can't find a way to access the other window from the  AnAction.actionPerformed(). I can get  WindowManager.getInstance().getAllProjectFrames(), but that only shows  the main window. How can I get the other windows?

Thank you in advance!

1 comment
Comment actions Permalink

I've found it:
EditorWindow[] windows = fileEditorManagerEx.getWindows();

though EditorWindow nextWindowPane = fileEditorManagerEx.getNextWindow(activeWindowPane); only returns splitters on the same window


Please sign in to leave a comment.