5

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.

fall
  • 984
  • 11
  • 33

1 Answers1

7

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

Dmitry.M
  • 2,833
  • 1
  • 17
  • 30
  • 3
    May 2023: the bug has reappeared, but the registry entry has gone. seems there is no workaround and we need jetbrains to publish a new fix. – Adrian C May 15 '23 at 16:36
  • @AdrianC, What is your current version of the IDE? – Dmitry.M May 16 '23 at 07:24
  • 1
    Got bug on 2023.1.1 and no option in registry :( (EDIT: Just updated to 2023.1.2 and scrolling speed is much better!) – Volvox May 18 '23 at 08:13