Eclipse IDE 上次编辑位置历史记录 - 后退多个步骤?
我现在正处于从 Netbeans 过渡到 Eclipse (Indigo) 的过程中。
Ctr+Q
似乎具有相同的功能 - 返回到上次编辑位置。但在 Netbeans 中,我可以反复按 Ctr+Q
并进一步返回,而无需更改文件内容(撤消 和 >重做黑客)。
Eclipse中有这样的功能吗?
一些信息:
我正在使用 JavaScript 开发工具包、PDT 和 YAML 编辑器。
I'm now in a process of transition from Netbeans to Eclipse (Indigo).
Ctr+Q
seems to have the same function - going back to the last edit location. But in Netbeans I was able to press Ctr+Q
repeatedly and go further back without the need of altering the file content (undo and redo hack).
Is there such functionality in Eclipse?
Some info:
I'm using the JavaScript Development Toolkit, PDT, and YAML editor.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(4)
看起来后退操作(
Alt+Left
)或多或少是相同的。不同之处在于它跟踪任何操作,而不仅仅是编辑。 “转到声明”等操作也包含在Alt+Left
的历史记录中。我认为,在某种程度上,它更有用,因为我可以跟踪我在“真实浏览”代码中的真实操作。不过我会切换上次编辑和上一个操作的键盘快捷键,以便保持
Ctr+Q
习惯。It seems that Back action (
Alt+Left
) is more or less the same. The difference is that it tracks any action, not only edits. Actions as "Go to declarations" are also included in the history ofAlt+Left
.I think, in a way, it's more useful because I track back my real actions as in "real browsing" the code. Though I will switch the keyboard shortcuts for Last Edit and Previous Action so that I keep the
Ctr+Q
habit.目前在 Eclipse 中还不可能。有一个针对此功能的旧功能请求,Bugzilla id 72773 (https://bugs .eclipse.org/bugs/show_bug.cgi?id=72773)。
It is currently not possible in Eclipse. There is an old feature request for this functionality with Bugzilla id 72773 (https://bugs.eclipse.org/bugs/show_bug.cgi?id=72773).
9 年后,请查看 Eclipse 4.17 (2020_09 )
9 years later, check out Eclipse 4.17 (2020_09)
如果您丢失了撤消重做功能,您可以使用本地历史记录。
为此:1/右键单击代码上的任意位置,2/团队,3/显示本地历史记录,然后根据编辑时间选择所需的版本。
You can use the local history if you lost your undo redo functions.
to do that: 1/ right click anywhere on your code, 2/ Team, 3/ Show Local History, then choose the version you want according to edit time.