我可以在不编写扩展的情况下编写 FlexBuilder 脚本吗?
我想编写 FlexBuilder 脚本,以便可以运行调试或配置文件,而无需切换到 FlexBuilder 并手动单击按钮(或使用组合键)。 不写扩展就可以实现吗?
更具体地说,这正是我想要做的:我想创建一个与 FlexBuilder 对话并使其运行当前所选项目的调试目标的 TextMate 命令。 TextMate 已经支持以这种方式与 Xcode 进行交互,如果能够使用 FlexBuilder 进行同样的操作那就太好了。
I'd like to script FlexBuilder so that I can run debug or profile without having to switch to FlexBuilder and manually clicking the button (or using the key combo). Is this possible without writing an extension?
To be more specific, this is exactly what I want to do: I want to create a TextMate command that talks to FlexBuilder and makes it run the debug target for the currently selected project. TextMate already has support for interacting with Xcode in this way, and it would be great to be able to do the same with FlexBuilder.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
由于 FlexBuilder 本质上是 Eclipse 的扩展版本,因此在 Eclipse 中执行相同操作的任何工具/脚本也应该适用于 FlexBuilder。 我在谷歌上找不到任何像这样的工具,您是否考虑过完全放弃 FlexBuilder,有很多直接从编辑器使用 mxmlc(或 fcsh)编译器的指南。
Since FlexBuilder essentially is an extended version of Eclipse, any tools/scripts for doing the same in Eclipse should work for FlexBuilder aswell. I couldn't find any tools like this googling it, have you considered doing away with FlexBuilder completely, there are plenty of guides for using the mxmlc (or fcsh) compilers directly from your editor.
我不知道 Eclipse 是否有这样的插件,但是如果没有,你可以编写一个,因为它应该很容易。
如果您要调用的特定命令出现在Windows/首选项 - 常规/按键中,您可以创建一个从 TextMate 获取命令的插件(我不知道什么) TextMate 使用的协议(套接字或其他协议)并执行与也出现在首选项中的命令关联的特定操作。
I do not know if there is a plugin like this for Eclipse however if not you can write one as it should be easy.
If the specific command that you want to call shows up in Windows/Preferences - General/Keys, you can create a plugin that takes commands from TextMate (I do not know what protocol TextMate uses, socket or something else) and executed the specific action that is associated with the command that also appears in preferences.
编译时,我使用 Ant 并可以从 TextMate 完全控制它,我想要的是能够启动调试器和分析器。 命令行调试器无法使用,并且除了 FlexBuilder 中的分析器之外没有其他可用的分析器。
When compiling I use Ant and have full control over that from TextMate, what I want is to be able to launch the debugger and the profiler. The command line debugger is unusable and there is no other profiler available than the one in FlexBuilder.