You can change the way RubyMine handles the editor tabs in the Editor tabs page of the Editor settings.
- Open the Editor settings. To do that, click on the main toolbar, then click the Editor node in the Settings dialog box, that opens.
- In the Editor Tabs page of the Editor settings,
type the desired maximum allowed number of the editor tabs to be opened at a time in the Tab limit field.
If the tab limit equals to 1, the tabs will be disabled. If you want the editor to never close the tabs, type some unreachable number.
- In the Editor Tabs page of the Editor settings, select
from the Tab placement drop-down list.
With the disabled tabs, use the Ctrl+ECtrl+ECtrl+ECtrl+ECtrl+ECtrl+EShift+F4Ctrl+EShift+Alt+FCommand ECommand ECommand ECommand E) command to quickly switch between files.(