fall
fall

Reputation: 1202

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.

Upvotes: 6

Views: 2739

Answers (2)

Hasintha Abeykoon
Hasintha Abeykoon

Reputation: 524

Updated 2025

IntelliJ IDEA (2024.3.2.2) now has a dedicated setting for this. (This may have been available since a previous version too)

Screenshot of IntelliJ IDEA settings for scroll speed

How to get there

  1. Open IDE settings
  2. Search for "scroll"
  3. You'll see the setting as in the Screenshot

Setting options explained

scroll jump:

a feature that allows you to quickly navigate through a code file by rapidly scrolling a large distance with a single mouse wheel action -- Google

scroll offset:

  • Simply refers to how many lines to scroll by a single wheel scroll/scroll key

Upvotes: 0

Dmitry.M
Dmitry.M

Reputation: 2972

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

Upvotes: 7

Related Questions