How can I save a set of open tabs in IntelliJ, so that I can switch between Git branches and bring up sets of working files for each?
Thank you.
IntelliJ IDEA limits number of tabs that you can open in the editor simultaneously (the default tab limit is 10). In the Settings/Preferences dialog ( Ctrl+Alt+S ), go to Editor | General | Editor Tabs. In the Tab closing policy section, adjust the settings according to your preferences and click OK.
Split a single file into multiple tabsRight-click a tab and choose Split Right or Split Down. Choose Window | Editor Tabs | Split Right/Split Down from the main menu.
In IntelliJ IDEA, to convert existing tabs to spaces or vice versa, use File → Edit → Convert Indents → To Spaces (or To Tabs). The Reformat code shortcut Ctrl + Alt + L will also do this, while applying other changes.
You can save a context, which includes a set of open tabs along with some other information such as the active run configurations. Use Tools | Tasks & Contexts | Save Context...
to save a context, and the corresponding Load Context...
action to switch to a saved context.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With