How to organize or open file in specific group deterministically?

已回答

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.

评论操作 固定链接

 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. 

Recently we've added an option called "When navigating to a file, prefer selecting existing tab in the inactive split pane" to File | Settings | Advanced Settings, Editor tabs. Does it work as you expect if you disable it?

If not, please provide a bit more details on your scenario:

  • how exactly you navigate to a file, what actions or shortcuts are used?
  • what tabs are already opened and where you expect the file to appear in this or that case?
  • please share a screenshot of File | Settings | Editor | General | Editor Tabs with all the settings visible. 

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).

I'm afraid there's no way to move the inactive file from one split to another except right-clicking the tab and choosing either "Move to opposite group" or "Open in opposite group". You can also assign shortcuts to both these actions in File | Settings | Keymap, but they will then work only for the file that is currently active. Besides, with more than two splits the opposite group may not be the one you expect it to be.

As to the active split pane highlighting - there is already a feature request in our tracker IDEA-56390, please upvote.

0
评论操作 固定链接

Hey Ekaterina! Please forgive the delay, I overlooked your correspondence. Thanks so much for your suggestion, yes this feature does in fact work as described. And knowing the rules, allows me to abided by them :)  Additionally, I appreciate citing reference to IDEA-36390. I have upvoted the request, as a way to objectively and easily identify an active pane for a recently opened file among many panes would be helpful. Even if its was only a just a quick blink or inverse color shift for a moment to bring your attention there. Finally a shortcut key to yank a file from wherever it is to the active editor pane would be nice, but understanding what you have suggested is very helpful. I will share any new ideas or issues should they arrive. IDEA still makes the best IDE's around. Have a great day!

0

请先登录再写评论。