I would like to have the file open in more than one pane so that I can see two different parts of the file at the same time. This is easy to do by creating a new pane, but I can't seem to figure out how to do it (if it can be done) with existing panes -- that is, to open a file in an existing pane while it's already open in another pane.
In previous versions of IntelliJ IDEA (maybe 6 or before), opening a file in more than one pane was easy - simply open the file when the active pane doesn't already have the file open. However, in the current version, when I try to open a file that's already open in another pane, IntelliJ will automatically switch to the one that's already open instead of opening it again.
I know that it is technically possible for the current version of IntelliJ to have a file open in more than one pane. This can be accomplished by selecting "split vertically" or "split horizontally"; the current pane splits and the file that was active is now open in the previous and the new pane. However, I would like to be able to open a file more than once in panes that already exist. For example, namely, I pretty much always have two panes open (split vertically). With file foo.java open in left pane (and bar.java open in the right pane), I would like to open another foo.java tab in the right pane (without creating another split or having to close any other tabs/panes). How can I do this, if it is possible? (If not, anyone know why?)
To me, the ideal solution would be to have an "Allow a file to be opened in mulitple panes" option in Editor Settings. Then, if I explicitly open a file (viz., open it via the Project Tool Window, or Go To Class (CTRL-N)), it would then open the file (again) in the active pane (or go to the open file if it's already open in the active pane). Jumping to source (via, say, Go To Declaration) would/could still jump to the already-open file in whatever pane it is open in.
Thanks for the help,
platform(s): Windows XP and Mac OSX
additional keywords: multiple multi pane panes window windows tab tabs once twice
Edited message for clarity. -Robert