Flex Formatter Wiki
Brought to you by:
ernestpasour
FlexFormatter is a tool for indenting or formatting your MXML or ActionScript code.
The FlexFormatter primarily operates on .mxml and .as files. It is also optionally enabled for .xml files , though they will be treated in the same way as .mxml files (but ignoring CData and script blocks).
By default, Ctrl+Shift+F is mapped to Format, but only in the "Editing Flex Source" context of FlexBuilder. If you do not have FlexBuilder, you can go to the Window->Preferences->General-Keys preference page and search for "MXML" to find the commands Indent MXML/ActionScript and Format MXML/ActionScript and map them in another context. However, the toolbar icons should still operate regardless.