Flex本身是没有格式化代码功能的,但是这个确实是很常用的功能,不知道为啥Adobe一直不加这个功能。只有想不到,没有做不到,这不就有个开源的Flex插件——FlexFormatter,很好用。

下载地址:http://sourceforge.net/projects/flexformatter/

安装方法:

  • 下载插件的jar文件
  • 复制到Flex安装目录中的plugins文件夹中(如果用的是Eclipse 3.4以上的版本,就是dropins目录)
  • 重启你的Flex,就可以看到图上的两个按钮了

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.