Flash Builder 中的 TODO 任务列表
Flash Builder 支持任务列表吗?
我正在测试 PHP 版 Flash Builder,我可以在 PHP 代码中看到我的 // TODO,但在 AS 或 MXML 中看不到。
我找到了这个插件:
http://www.richinternet.de/blog/index .cfm?entry=911D4B57-0F0D-5A73-AF6F4D4D04099757
但它很旧了。
您知道如何使用 Flash Builder 4.5 在 AS3 和 MXML 代码中查看我的 TODO 列表吗?
[更新]: 我已经从 richinternet.de 安装了该插件,它可以在 Flash Builder 4.5 for PHP 中运行。
但它很差,如果你打开文件,它只会检测 TODO 和 FIXME,它不会在你的所有 src 中搜索 TODO 和 FIXME。
而且不区分大小写,这对我来说是个问题,因为在西班牙语中“todo”意味着“一切”,所以我现在不能在评论中使用“todo”这个词。
我不明白 Adobe 在开发 Flash Builder 这么多年之后为什么不包含一个插件!当你生成处理程序、方法等时,他们会添加 TODO 注释!如果您不在任务中显示它,我不知道这有什么用!
Does Flash Builder support tasks list?
I'm testing Flash Builder for PHP, and I can see my // TODO in PHP code but not in AS or MXML.
I found this plugin:
http://www.richinternet.de/blog/index.cfm?entry=911D4B57-0F0D-5A73-AF6F4D4D04099757
but it's very old.
Do you know how can I see my TODO list in AS3 and MXML code with Flash Builder 4.5?
[UPDATE]:
I've installed the plugin from richinternet.de and it works in Flash Builder 4.5 for PHP.
But it's very poor, it only detects the TODOs and FIXMEs if you open the file, it doesn't search all your src for TODOs and FIXMEs.
And also is case insensitive, that's a problem for me, because in spanish "todo" means "everything", so I can't use the word todo in my comments now.
I can't understand how Adobe doesn't include a plugin for this after so many years developing Flash Builder !! they are adding TODO comments when you generate a handler, method, etc !!! I don't know how that can be useful if you don't show it in the tasks!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(5)
通过以下链接获取 Flash Builder 的 TODO/FIXME 扩展,并尝试一下。
http://www.richinternet.de/blog/index .cfm?entry=911D4B57-0F0D-5A73-AF6F4D4D04099757
另一个链接:http://blog.winnemconsulting.com/2011/08/08/fbtoolkit-taskfixmetodo-plugin-for-flex-and-flashbuilder/
工作原理:该插件在打开时解析每个 MXML/AS 文件,并搜索注释(MXML 和 AS 注释)以查找 TODO 和 FIXME 标记(此搜索不区分大小写,因此它也会找到 todo)。保存文件后会发生相同的操作。如果找到令牌,则会生成一个新任务,其消息设置为注释并显示在任务视图中(要打开任务视图,请选择窗口 - >其他视图... - >基本 - >任务在 Flex Builder 2 独立版和窗口中 --> 显示视图 --> 其他 --> 基本 --> 在 Eclipse 中将 Flex Builder 2 作为插件运行时的任务)。注意:要真正删除任务,您必须删除注释 - 从任务视图中删除任务不会删除注释,因此保存文件后,任务将重新出现。
Get the TODO/FIXME extension for Flash Builder at the following link, and give it a try.
http://www.richinternet.de/blog/index.cfm?entry=911D4B57-0F0D-5A73-AF6F4D4D04099757
Another link at: http://blog.winnemconsulting.com/2011/08/08/fbtoolkit-taskfixmetodo-plugin-for-flex-and-flashbuilder/
How it works: the plugin parses every MXML/AS file when opened and searches comments (both MXML and AS comments) for TODO and FIXME tokens (this search is case insensitive, so it also finds todo). The same action takes place after a file has been saved. If a token is found, a new Task gets generated with its message set to the comment and displayed in the Task View (To open Task View choose Window-->Other Views...-->Basic-->Tasks in Flex Builder 2 standalone and Window-->Show View-->Other-->Basic-->Tasks when running Flex Builder 2 as a plugin in Eclipse). Note: to really delete a Task you have to delete the comment - deleting a Task from the Task View does not kill the comment, so after you save the file the Task will reappear.
为了完整地回答这个问题:
我确实同意您的观点,即 Flash Builder 默认情况下不存在此类功能,这确实令人惊奇且不可思议。
还有另一种选择,尽管它不是免费的(不过它有 30 天的试用期),
它被称为 SourceMate http:// www.elementriver.com/sourcemate
该产品具有大量其他很酷的功能,请务必检查功能列表。
For completeness on this question:
I do agree with you on the fact that it is truely amazing and inconceivable that such features do not exist in Flash Builder by default.
There is another alternative, though it's not free (It does have a 30 day trial though)
It is called SourceMate http://www.elementriver.com/sourcemate
The product has loads of other cool features, be sure to check the feature list.
我在上面评论了已接受的答案,但我会在这里重新列出...
这篇文章现在已经严重过时了:(。我想提供一个不同的答案...我们会说从 Flash Builder 4.6 开始。
来自一个伟大的文章(来自 Adobe Cats)有关如何将任务标记(和书签)添加到 Flash Builder 项目文件中的信息。
I commented above on the accepted answer, but I'll relist here...
This post is now seriously outdated :(. I would like to offer a different answer... We'll say starting with Flash Builder 4.6.
It's from a great article (from the Adobe Cats) about how to add Task Markers (and Bookmarks) to your Flash Builder Project Files.
您始终可以在解决方案中搜索“TODO”:) 下次您想要查看 TODO 时,请在结果窗口中按 F5。
You can always search in the solution for "TODO":) And in the results window, press F5 the next time you want to see TODOs.
最好的解决方案是通过“帮助”>“软件安装”菜单安装前面提到的插件。安装软件。
警告 - 如果您有 FB 4.7,请不要获取 SourceMate 插件 - 它不受支持,而且看起来不会很快得到支持。检查此页面是否有更新:http://support.elementriver.com/discussions/sourcemate
Best solution is to install the plugins mentioned previously via the software install menu under Help > Install Software.
WARNING - Don't get the SourceMate plugin if you have FB 4.7 - it isn't supported and doesn't look like it will be soon. Check this page for updates: http://support.elementriver.com/discussions/sourcemate