Eclipse 有宏录制器吗?

发布于 2024-07-05 21:11:08 字数 1557 浏览 5 评论 0原文

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(9

谁人与我共长歌 2024-07-12 21:11:08

我已经成功使用 AutoHotKey(不过仅限 Windows)。

I've had success using AutoHotKey (Windows only, though).

鹤舞 2024-07-12 21:11:08

有一个名为 Eclipse Monkey 的插件,它允许编写在IDE。 大约一个月前由于缺乏兴趣而终止

它基于一个名为 Groovy Monkey 的旧插件。 如果你用谷歌搜索,你仍然可以获得它。 Aptana 团队提供了一些有关使用它的更多信息

请注意,这允许编写脚本,但不能记录操作。

There was a plug-in called Eclipse Monkey which allowed writing scripts that execute inside the IDE. It was terminated about a month ago due to lack of interest.

It is based on an older plug-in called Groovy Monkey. If you google it, you can still get it. The Aptana team has some more information on using it.

Note that this allows writing scripts, but not recording actions.

め七分饶幸 2024-07-12 21:11:08

这看起来像是 IDE 中的一个奇怪的漏洞,我是否缺少一些内置工具?

这是一个常见问题。 Eclipse 跟踪器中为此打开了大约四个错误。 不幸的是,您可能会在 v4.0 或更高版本的 Eclipse 中看到宏。

This seems like a strange hole in an IDE, am I missing some builtin facility for this?

This is a common problem. There are around four bugs opened in Eclipse tracker for this. Unfortunately you would probably see macros in Eclipse in v4.0 or later.

夏天碎花小短裙 2024-07-12 21:11:08

Emacs+ 版本 3.x 添加了键盘宏 (http://www.mulgasoft.com/emacsplus)功能集。

Emacs+ Version 3.x adds keyboard macros (http://www.mulgasoft.com/emacsplus) to its feature set.

苏璃陌 2024-07-12 21:11:08

我在过去一个月左右整理了一些内容,以便您可能会觉得有用。 它有局限性,因为 Eclipse 编辑器/命令在设计时没有考虑到宏支持,但我认为它工作得相当好。 几天前我刚刚在 SourceForge 上发布了实用宏。 它需要 Eclipse 3.4。

I put something together over the last month or so that you may find useful. It has limitations since the Eclipse editor/commands weren't designed with macro support in mind, but I think it works reasonably well. I just posted Practical Macro at SourceForge a couple of days ago. It requires Eclipse 3.4.

情定在深秋 2024-07-12 21:11:08

这不是 Eclipse 特定的,但也可以在那里使用:

http://sikuli.org/

This is not an Eclipse-specific one, but it can be used there as well:

http://sikuli.org/

我的影子我的梦 2024-07-12 21:11:08

对于 Windows 计算机上的简单文本扩展,您可以使用 AutoHotkey。 它不像大多数宏工具那么强大,但由于它不与任何一个程序绑定,因此可以在其他编辑器、电子邮件等中使用。

例如,如果我输入“;;ln”,AutoHotkey 会立即发送击键来删除此宏并将其替换为“System.out.println();” 将光标置于括号之间。

For simple text expansion on a Windows computer, you could use AutoHotkey. It's not as powerful as most macro tools, but since it's not tied to any one program, it can be used in other editors, emails, etc.

For example, if I type ";;ln" AutoHotkey instantly sends the keystrokes to delete this and replace it with "System.out.println();" with the cursor in between the parentheses.

楠木可依 2024-07-12 21:11:08

仅供记录,还有另一个项目名为 MacroSchmacro 执行 Eclipse 宏,但它不记录许多重要的事情(例如搜索导航)。 它也非常慢。

Just for the record, there is another project called MacroSchmacro that does Eclipse macros, but it doesn't record many important things (like searching to navigate). It is also extremely slow.

阿楠 2024-07-12 21:11:08

说到 Emacs,jEdit 具有非常强大的宏功能。 有很多高质量的宏和插件,并且已经内置了几个宏。您甚至可以使用bean脚本添加一些逻辑,这类似于VBA。 所以,你可以写出非常强大的东西(很多人都这样做过)。

jEdit 显然是一个单独的编辑器,但我认为值得一试。 请参阅http://www.jedit.org/

Talking about Emacs, jEdit has a very strong macro facility. There are a lot of high quality macros and plug-ins, and several macros are already built it in. You can even add some logic using bean scripting, which is analogous to VBA. So, you can write very powerful stuff (any many people have done so).

jEdit is obviously a separate editor, but I think it's worth a shot. See http://www.jedit.org/

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文