Archive

Archive for November, 2009

Flex Formatter Plugin

November 24, 2009 Leave a comment

Flex Formatter is an Eclipse Plugin to provide source code formatting for Adobe Flex code (i.e. Actionscript and MXML).

It can

  • Formate code
  • Indent Code
  • Generate ASDoc comments
  • Rearrange AS Code

Here is the screenshot tour of the installation process in Flex Builder 3

Step 1: Begin the installation from the Flex Builder Help menu item.

Step 2: This screenshot show the screen as it initially comes up. In this case you will need to change the radio button to indicate that this is a new install.

Step 3 : This screen will vary depending on the features you have installed already. You want to click on the New Remote Site button.

Step 4: This screen is showing the New Remote Site dialog, filled in with the correct information to install Flex Formatter

Name : Flex Formatter

URL : http://flexformatter.googlecode.com/svn/trunk/FlexFormatter/FlexPrettyPrintCommandUpdateSite/

Step 5: When you first come back to this screen, if the site you added is NOT selected, be sure to select it before clicking Finish.

Step 6 : This next screen shows all of the features that are available to install.

Step 7: Click the button to accept the license agreement.

Step 8: Confirm the install location

Step 9 : Just a screenshot of the in-process installation.

Step 10 : This screen is saying that the provider cannot be verified . Ignore that and click on Install All

Step 11: Flex Builder needs to be restarted after installing PHPEclipse.

Step 12: When the Flex Builder is restarted, you will see these new buttons in the toolbar if the plugin is successfully installed.

By Default, Ctrl + Shift + F is the command to format code and Ctrl + I is the command to indent code. You can change these commands in Window->Preferences->General->Keys

Code is not formatted the way you expected ? You can change all settings in

Window->Preferences->Flex Formatting

Categories: Flex
Follow

Get every new post delivered to your Inbox.