Get same class in split editors without unsplit/split
When you first split the editor you get the same class in the top and bottom editors; however, if you navigate away from the class in one of the editors, as far as I can tell, it is impossible to get the split editors to display the same class in both split editors again. If you select the editor you want to put the class in and then double-click the class in the project view the cursor will jump to the editor that the class is already open in.
Is there a way to get the same class in split editors without having to unsplit then split the editors again?
Please sign in to leave a comment.
Hello Michael,
Go to the second split editor, find the class you need in Ctrl-N and press
Shift-Enter instead of Enter to select it.
--
Dmitry Jemerov
Development Lead
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"
Thanks, works great!
FYI to searchers, if you are on a mac the shortcut you are looking for is cmd-o (rather than ctrl-n)