Advanced code formatter (AS3 + MXML)

From FDT Documentation

(Difference between revisions)
Jump to: navigation, search
Line 1: Line 1:
-
default key binding:  cmd+shift+f (OSX )or ctrl+shift+f (Win)
+
default key binding:  cmd+shift+f (OSX ) or ctrl+shift+f (Win)
Whenever a user invokes FDT’s code formatter ( via keystroke ), FDT will readjust formatting such as indentation, white space, braces and blank lines.
Whenever a user invokes FDT’s code formatter ( via keystroke ), FDT will readjust formatting such as indentation, white space, braces and blank lines.

Revision as of 12:37, 16 September 2010

default key binding: cmd+shift+f (OSX ) or ctrl+shift+f (Win)

Whenever a user invokes FDT’s code formatter ( via keystroke ), FDT will readjust formatting such as indentation, white space, braces and blank lines.

To set your own formatting scheme, open FDT’s preferences window and navigate to FDT>Code Style>ActionScript Formatter. Here adjustments can be made to the how the Code Formatter behaves as well as see a preview of the how code will be adjusted when the Code Formatter is invoked. Project Specific Settings FDT also allows for project specific settings. This is helpful when working in a team environment and the team as set it’s own formatting standards.

Enable project specific formatting via the Project Properties Window. Open the window by right clicking on the target project and selecting “Properties”. Once here navigate to ActionScript Formatter and click on ‘Enable project specific settings’. When clicked, FDT’s ActionScript Formatter will appear.

Get FDT5