How to organize or open file in specific group deterministically?

Answered

Thanks in advance for any feedback. Unfortunately I don't know how to  ask this question, but will do my best. In short, when working on large projects in RubyMine or Intellij it becomes difficult to know where anything is, because when I open a file I'm researching it might open up anywhere, including overwriting the tab I'm currently viewing which I intended to compare the new file to.  What I would like is a method to open files in a group. And example might be, if I've divied my  workspace with two groups divided vertically (left/right). If I open a new class and want it on the right group, I can make the editor active in that group and use the open search/file shortcut whereupon the file opens only there. As it stands, sometimes it does, sometimes it doesn't, making it difficult to organize my thoughts. Secondly, regardless if I do have a file in the left pane, if I want it now in the right, I should be able to move it with a similar shortcut to the current active group (or at least open a 2nd copy). Sometimes it just activates it in the pane it is in, but I can't tell as its not highlighted (especially with 4 panes for example). Any assistance would be greatly appreciated.

5 comments
Comment actions Permalink

Hello,

Could you please provide more details about your steps that lead to the incorrect behaviour?

0
Comment actions Permalink

Thank you Olga for your quick reply, unfortunately I didn't know if the described behavior was incorrect, or the best manner to explain. However, your inquiry for further information prompted me to do some more testing... apparently  my confusion resulted from my second observation, namely.... if I have two tab groups side by side, Left & Right, if I use a shortcut (Shift-Cmd-O) to open in the Right group that already exists in the left, it doest open there. Once you open enough tabs this happens often enough to cause confusion, in part my mistake. With this in mind, all that remains is my prior inquiry as to if  it possible to move a file to a new group with a similar shortcut? Separately what could have help also was having the active editor a different color that the others, as the tab highlight when you have 4 groups is difficult to find... but thats a separate matter, not a bug by any means.  Thanks again for you thoughts.

0
Comment actions Permalink

Do I understand it right that you'd like to invoke Navigate | File while having focus in group 2, enter the file name that is already opened in group 1 and have it opened in group 2 instead? 

As for highlighting the current split window, could you please add your vote to the corresponding feature request: https://youtrack.jetbrains.com/issue/IDEA-56390

0
Comment actions Permalink

Thanks Olga! Yes, that would make like easier for sure. Also, much appreciate the link, consider it up voted!!!!

0
Comment actions Permalink

In this case could you please try disabling Preferences | Advanced Settings | When navigating to a file, prefer selecting existing tab in inactive split pane option.

0

Please sign in to leave a comment.