gpt4 book ai didi

intellij-idea - Intellij IDEA,控制向上翻页、向下翻页滚动大小

转载 作者:行者123 更新时间:2023-12-04 18:40:18 25 4
gpt4 key购买 nike

我对 intellij 中向上翻页、向下翻页的滚动行为不满意。感觉不太对。总感觉好像我脱离了范围。

是否可以调整向上翻页、向下翻页的滚动大小?也许半页或类似。

最佳答案

我已经接受了@yole 的回答并实现了他在一个单独的插件中描述的所有操作:

There is no way to control this through the settings. What you can do is write a plugin that performs scrolling in the way that you prefer. It's fairly easy: all you need to do is copy the existing PageUpAction/PageDownAction classes and the methods they call (EditorActionUtil.moveCaretPageUp/Down) to scroll by as much as you want.



这个插件实现了新的 Action “Partial Page Up”和“Partial Page Down”,允许滚动一个可在通常的 IDEA 设置对话框中定义的可配置屏幕大小。

official JetBrains repository 中有插件的可安装版本.

关于intellij-idea - Intellij IDEA,控制向上翻页、向下翻页滚动大小,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/27610249/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com