Every time I click on a certain tab inside IntelliJ IDEA it reorders all the tabs. I find this to be super-annoying as I learn the order of my tabs, and then it switches.
Press ⇧⌘A (macOS), or Ctrl+Shift+A (Windows/Linux), for the Find Actions dialog. From here you can search for Tab Placement, NBar and TBar to turn on or off the tabs, Navigation Bar and Toolbar windows.
Pin or unpin a tab To pin or unpin an active tab, right-click it and select Pin Tab or Unpin Tab from the context menu. To close all tabs, but the pinned ones, right-click any tab and select Close All but Pinned.
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 use Find Action with ⌘⇧A (macOS), or Ctrl+Shift+A (Windows/Linux), and then type in 'Show virtual space at the bottom of the file'.
This is really annoying and sad, because this issue is from 2009 and it's still unsolved. I tested multiple configurations and find a suitable solution.
For my workaround and a more intuitive behaviour go to Settings -> Editor Tabs
Apply and close the window. Then go to the menu bar: Window -> Editor Tabs and uncheck Alphabetical Mode if checked. This change let you reorder your tabs by drag&drop and new tabs are appended after the active tab. This also annoying, because most editors append it to the end of a list.
Maybe you prefer the Alphabetical Mode but the sorting is not consistent, because only one directory (the closest one) of a file is evaluating for the sorting. The parent folder and parents parent, ... are ignored.
There is still an annoying behaviour, which is more annoying when you place the tab bar on top/bottom. When using right/left you have still the same problems, but you get more space and it don't start to annoy you so fast with a vertical list ;)
With top/bottom placement you get another annoying behaviour:
tested on IntelliJ Cardea
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