intellij-ideascrolltabs

How to make it faster when scrolling though tab in Intellij Idea?


It is quite slow to scroll through tabs in Idea. I am happy about the speed it scroll through files, but for tabs it is too slow. enter image description here

Is there a way to keep the general scroll speed but make it faster only when scrolling through tabs?

I am aware that there are hotkeys to switch tabs quickly, but still need to know.


Solution

  • UPDATED 05.2023

    Apparently, the bug has reappeared in the 2023.1.1 version of IntelliJ and was fixed in 2023.1.2 Also the registry key ide.editor.tabs.scroll.unit.increment is gone!

    FOR OLD VERSIONS

    Indeed in the current build 2020.3.1 tabs scrolling is very slow. There is a bug for it, and apparently, JetBrains already fixed it. Here are official comments from a developer:

    These three problems were fixed:

    1. For slow mouse wheel rotation we should use "rough" integer metrics event.getUnitsToScroll() instead of "precise" double metrics event.getPreciseWheelRotation(). Actually is means 1 instead of 0.1 in my environment (MacBook)
    2. In MacBooks trackpad can suddenly send a single scroll event in opposite direction and looks like "trembling", these sudden events should be ignored
    3. Unit increment for horizontal scrolling can be tuned now with registry key ide.editor.tabs.scroll.unit.increment (default value is 10)

    See here for the relevant changes.

    As for versions of IntelliJ:

    1. 2020.3.1 the bug exists and you can do nothing about it, is suppose, without altering the speed of scrolling in the main window.
    2. 2021.1 the bug was fixed. Currently (23.01.2020), you can't download it, but I think it will be available soon as EAP Build. Please, see here.
    3. If you want it right now, you can download the source code and build it manually from the git repo. The build instructions are simple. I tested it, and indeed, the scrolling is much faster now :)

    Additionally, after the availability of 2021.1 build, you can modify the speed of tab scrolling by changing the registry value ide.editor.tabs.scroll.unit.increment