|
|
|
[
Permlink
| « Hide
]
Heidi Williams - [07/31/07 11:40 AM ]
QRB deferred for Moxie.
If you are seriously considering implementing a source formatter, please consider the following requests:
1) Make it possible for us to set team standards for source formatting so that we can control the order of our MXML attributes. For instance: Format attributes to always list "x" before "y" Format attributes to always list "width" and "height" after "x" and "y" Format code to always place a line break after "x", "y", "width" and "height" keeping those attributes on a single line Items like these can make standardizing code a little easier in teams. 2) Make it possible for us to create and set templates for new MXML and ActionScript files so we may be able to control things like copyright notices when a file is created. Tim, if you want to discuss how this issue effects me, feel free to contact me at any time (leif [dot] wells [at] gmail [dot] com).
This issue is partially addressed by adding Snippets to Flex Builder. However, this is a rather difficult process for the average user and doesn't provide the same depth of functionality that a real source formatter would. Snippets also change on a per-workspace basis and the user has to create them all from scratch at least once anyway. I'd love to see something of the same level as Java's source formatter - it'd be a huge plus for me.
Adding Leif's comments, it would be nice if it would always put the "id" attribute first
It'd be great if it had an option to format the code according to the coding conventions at:
http://opensource.adobe.com/wiki/display/flexsdk/Coding+Conventions | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||