如何使用键盘在Eclipse编辑器中向左右滚动,而不移动光标? [英] How can I scroll left and right in Eclipse editor with the keyboard without moving the cursor?
问题描述
要在 Eclipse 编辑器中滚动,而不必上下移动光标,可以使用 CTRL + Down 或 CTRL + Up 。但是, 和 ?
To scroll within the Eclipse editor without moving the cursor up and down one can use CTRL+Down or CTRL+Up. But what about left and right?
推荐答案
这是不可能的。如果您在Eclipse的首选项中搜索键,您将发现只有向上滚动
和向下滚动
可以设置热键。
It is not possible. If you search keys in Eclipse's Preferences, you will find out that you only have Scroll up
and Scroll down
that you can set hotkeys on.
我的建议是改变编辑器中的最大行长度。
使您的代码更短。毕竟,无聊的代码行并不那么可读。
My recommendation would be changing the maximum line length in the editor.
Make your code shorter. After all, looooong lines of code are not so readable.
此外,调整您的编辑区域的大小。如果您感到被扼杀,请删除 Outline
, TaskList
和 Build
从Eclipse的右侧查看,并放大编辑器。
Also, resize your editor area. If you feel strangled, remove the Outline
, TaskList
, and Build
view from your right side of Eclipse, and enlarge the editor.
这篇关于如何使用键盘在Eclipse编辑器中向左右滚动,而不移动光标?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!