Flex Formatter Eclipse Plug-in

ActionScript, Air, Flash Builder, Flex, Flex Builder, eclipse, tips 'n tricks Add comments

If you’re using Eclipse and Flash/Flex Builder, you might want to have a look at the Flex Formatter Plug-in. It’s a great add-on that allows you to (auto-)format your ActionScript and MXML files, based on the templates you define.

This is a key feature that is still missing in Flash/Flex Builder in my opinion.

More info: http://sourceforge.net/projects/flexformatter/


Add to Bloglines - Digg This! - del.icio.us - Stumble It! - Twit This! - Technorati links - Share on Facebook - Feedburner
 

11 Responses to “Flex Formatter Eclipse Plug-in”

  1. François Says:

    Hello Christophe,
    Usefull plugin for Flex Builder indeed.
    FYI:
    It’s now a Ctrl+I (or two clicks) away in FlashBuilder.

  2. Christophe Says:

    Hi François,

    I’m aware of that but unfortunately this only correct the indentation of the code. The Flex Formatter will also correct spaces, braces, newlines, and a lot more based on your predefined settings. The nice thing is that you can also export the settings as a template and pass around your team members.

  3. Jochen Szostek Says:

    Nice! I always hate cleaning up my own mess manually. :D

  4. ryan Says:

    been on the lookout for something like this… shot…

  5. Arnoud Says:

    Wow this is cool indeed! Nice tip!

    @François
    the new version (0.6.20) the formatting is 1 click away as buttons are shown in the task bar on the top.
    you can even let it handle stuff automatically on file save.

    Arnoud

  6. Nick Says:

    FDT has had this for a while now. I find myself hitting the format key more than I hit save.

  7. himaeng Says:

    How to install it on flex builder.

    thank you

  8. Christophe Says:

    To install this plugin, use the update site at http://flexformatter.googlecode.com/svn/trunk/FlexFormatter/FlexPrettyPrintCommandUpdateSite

  9. ismail ?im?ek Says:

    thanks so much. now i like to write codes more than before :D

    but i have a question.
    i think ctrl + shift + f do auto format or this shortcut came after installation. if someone didnt install this plug yet please try ctrl + shift + f. if its works flex has got an auto format shortcut already :D

  10. Rob Says:

    If you are using the Adobe standards, you will need to remove the spaces around the “=” otherwise the design view won’t see the properties, and will add another attribute when changed.

  11. PC Says:

    Has anyone tried to run an ANT script to run the flex formatter on a whole package/folder?

Leave a Reply

WP Theme & Icons by N.Design Studio
Entries RSS Comments RSS Log in