Posts tagged "preferences"

Burrito Feature: File Associations

File associations? Not exactly a new idea for applications, but the recent release of Eclipse 3.6 allows us to add platform OS support for associating files with Flash Builder. That means opening a file in Finder or Spotlight on the Mac or Explorer on Windows will launch Flash Builder and open the file.

Depending on if you already have associations for .as and .mxml files, you may see this feature already enabled. To enable file associations, go to Preferences > Flash Builder > File Associations.

Share on Facebook

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