My workaround for this is to set keyboard shortcuts in IntelliJ for
- Move to the opposite group
- Move right
What these keyboard shortcuts do: Move to the opposite group: (moves your tab to another tab if the window is already split. Does nothing if there is no split tab.) Move right: (this splits the current tab in half and moves your current tab to another half) So, when there are no tabs, use the keyboard shortcut to move to the right, and if it already exists, use the transition to the opposite group.
To set keyboard shortcuts , open the settings (Ctrl + Alt + S) and go to the keyboard layout. Just find "move right" or "go to the opposite group"
I installed my ctrl + numpad7 and ctrl + numlock respectively.
source share