Posts tagged "indent"

Time Saver: Auto Indent

indentation.png
Here’s how the new Auto Indent feature saves you time:

  • Indent on paste – Yes, copy and paste code from the web without having to fix indentation
  • Indent on newline – Based on the MXML tag or ActionScript block scope, indentation is inserted automatically
  • New language specific preferences – Under Flash Builder > Indentation: ActionScript and MXML
  • Tabs vs. Spaces – There’s been some confusion about this in the past. We don’t use the Eclipse general text editor preferences in Flash Builder 4. You can specify tabs, spaces and indentation width preferences in Flash Builder > Indentation

I know what you’re thinking, it’s not a full code formatter. I hear ya. I know that many users in the community have used the Flex Formatter plug-in http://flexformatter.sourceforge.net in Flex Builder 3. It’s worth taking a look at, though I haven’t exhaustively tested it with Flash Builder 4.

Share on Facebook