简体   繁体   中英

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

It is quite to scroll through tabs in Idea. I am happy about the speed it scroll through files, but for tabs it is too slow. 在此处输入图像描述

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.

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM