如何在 eclipse ant 编辑器中启用撤消? [英] How do I enable undo in eclipse ant editor?

查看:26
本文介绍了如何在 eclipse ant 编辑器中启用撤消?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在 Eclipse 的 ant 编辑器中,撤消对我不起作用.当我按 Ctrl-Z 时什么也没有发生.

Undo is not working for me in ant editor in eclipse. When I press Ctrl-Z nothing happens.

是否可以以某种方式启用撤消或者这是一个错误?

Is it possible to enable undo somehow or is this a bug?

我在 Windows XP Professional 上使用 Eclipse 3.4.2 (Ganymede).

I am using Eclipse 3.4.2 (Ganymede) on Windows XP Professional.

推荐答案

是的,撤消应该在 ant 编辑器中完美运行.
对于 Ctrl-Z 不起作用可能意味着:

Yes undo should be working perfectly in an ant editor.
For Ctrl-Z to not workcould mean:

  • 快捷方式已分配给另一个操作(Windows > Preferences > General > Keys)
  • 撤消缓冲区大小不知何故为0"(Windows > Preferences > General > Editors > Text Editor)
  • 插件以某种方式窃取"了自己的关键事件

尝试全新安装,并检查最新的 Galileo (3.5RC2) 安装,看看问题是否仍然存在.

Try a fresh install, and check also with a latest Galileo (3.5RC2) install to see if the problem persist.

注意:zvikico 提到了 3.4.2 中 ant 编辑器存在的已知错误

Note: zvikico mentions the existence of a known bug with ant editor in 3.4.2

经过 快速搜索,以下错误可能可以解释您的情况:

After a quick search, the following bugs might explain your situation:

  • 267780 [ant editor] 删除行后无法撤消光标已被移动
  • 247434 无法在 Ant 编辑器中撤消删除行,仅适用于'Eclipse IDE for Java Developers',使用 Eclipse Classic 则不会出现这种行为
  • 267780 [ant editor] delete line cannot be undone after cursor has been moved
  • 247434 Failed to undo removal of line in Ant editor, only with 'Eclipse IDE for Java Developers', with Eclipse Classic you don't get this behavior

最后:

  • 239115 ant 编辑器中的撤消功能不再起作用,主要是WTP问题,3.5才解决
  • 239115 Undo functionality does not work anymore in the ant editor, mainly because a WTP issue, only solved in 3.5

这篇关于如何在 eclipse ant 编辑器中启用撤消?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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