Search code examples
intellij-ideaandroid-studiokeyboard-shortcutskeymapping

Move file from one editor window to another (split mode)


Is it possible to move a file (already opened) from one editor to another in split mode without using mouse and without using tabs (I have tabs disabled).

Example of what i want to accomplish. I enabled split mode (vertical) and opened file X in left editor. I want to move this file X to right editor because I already have file Y int left editor.

I found the command Move to opposite group which works fine only when tabs are enabled. When tabs are disabled (my case) call Move to opposite group force split mode to disappear.


Solution

  • Action Open in opposite group is the closest solution I found.

    Example of what i want to accomplish. I enabled split mode (vertical) and opened file X in left editor. I want to move this file X to right editor because I already have file Y int left editor.

    After Open in opposite group action X will be opened in both editors. My workflow is "move" X to right editor and keep working in left editor.