博客原址:http://tongqiuyan.blog.163.com/blog/static/195545302201191375810127/
Flex Builder的最新版本已经到了4.5,可是代码格式化工具并没有集成在安装版本中,需要通过其他途径来实现。
下面提供一个安装插件的方法实现Flex代码格式化:
1. 点击菜单中的 Help-> Software Updates-> Find and Instal...
2. 选中单选框: Search for new features to install
3. Next
4. 点击 New Remote Site
5. 输入 Name:FlexFormatter
URL:http://flexformatter.googlecode.com/svn/trunk/FlexFormatter/FlexPrettyPrintCommandUpdateSite
点击OK并Finish

6. 看到上图继续NEXT,选中“I accept the terms in the license agreement”后Next并Finish,等待更新结束

7. 进入Window--Proferences--FlexFormatter—Auto Format设置如下,那么在你保存的时候,就会自动进行格式化了。

结束。
本文介绍了如何在FlexBuilder 4.5版本中安装插件以实现代码格式化功能,包括搜索新功能、配置FlexFormatter插件以及设置AutoFormat选项等步骤。
101

被折叠的 条评论
为什么被折叠?



