如何使用键盘在Eclipse编辑器中向左右滚动,而不移动光标? [英] How can I scroll left and right in Eclipse editor with the keyboard without moving the cursor?

查看:256
本文介绍了如何使用键盘在Eclipse编辑器中向左右滚动,而不移动光标?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

要在 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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆