Menu

Overview

Ernest

Flex Formatter Overview

FlexFormatter is a tool for indenting or formatting your MXML or ActionScript code.

  • Indenting means adjusting the leading whitespace on a line.
  • Formatting means adjusting all whitespace, including newlines. The FlexFormatter also adds the possibility of going beyond formatting by allowing you to modify the order of MXML attributes and ActionScript elements as part of formatting.

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.


Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.