Eclipse 3.5 and FDT 3.2 for Actionscript development – Part 3 – Configuration
In the second post of the serie I suggested some useful plugins. Now is time to configure the Eclipse and FDT installation.
Obviously this is my way of configuring both, so if you would like to make some changes I suggest you to explore all the menus and submenus in Eclipse because you’ll find a lot of interesting properties that can be customized to suit your needs. Here is my configuration.
1) Eclipse preferences configuration
- Window -> Preferences -> General -> Always run in background
Window -> Preferences -> General -> Show heap status

- Window -> Preferences -> General -> Editors -> Text Editors -> Show line numbers

- Window -> Preferences -> General -> Keys -> Select the “Run Ant Build” and in Binding press CTRL + ENTER to bind this shortcut to the command

2) FDT preferences configuration
- Window -> Preferences -> FDT -> Build Path -> Output folder name: deploy

- Window -> Preferences -> FDT -> Code style -> Formatter -> Set how you you want your code formatted

- Window -> Preferences -> FDT -> Core Libraries -> AS3 Core Libraries -> Add…
Type: Flash CS3
Name: FLASH_CS4_COMPONENTS
click Browse…

click New...
Name: FLASH_CS4_COMPONENTS
Location: C:\Program Files\Adobe\Adobe Flash CS4\Common\Configuration\ActionScript 3.0\FP10
click OK

click OK
- Window -> Preferences -> FDT -> Editor -> Code Assist -> Auto activation triggers for AS: abcdefghijklmnopqrstuvwxyz_.:

- Window -> Preferences -> FDT -> Editor -> Folding -> Leave Folding enabled checked and uncheck all the others
- Window -> Preferences -> FDT -> Tools -> Flash -> Flash IDE: C:\Program Files\Adobe\Adobe Flash CS4\Flash.exe
Window -> Preferences -> FDT -> Tools -> Flash -> Flash Player: C:\Program Files\Adobe\Adobe Flash CS4\Players\FlashPlayer.exe
Window -> Preferences -> FDT -> Tools -> Flash -> Flash ASO Directory: C:\Documents and Settings\User\Local Settings\Application Data\Adobe\Flash CS4\en\Configuration\Classes\aso

- Window -> Preferences -> FDT -> Tools -> Flash Help -> Click Update Help

3) Perspective customization
- Window -> Customize Perspective -> Tool Bar Visibility -> Disable FDT MXML Coding

- Window -> Customize Perspective -> Command Group Availability -> Disable Annotation Navigation
Window -> Customize Perspective -> Command Group Availability -> Disable Editor Navigation
Window -> Customize Perspective -> Command Group Availability -> Disable FDT MXML Coding
- Window -> Customize Perspective -> Shortcuts -> Submenus: New -> Disable MXML Class

- Window -> Customize Perspective -> Shortcuts -> Submenus: Open Perspective -> Enable Flash FDT
Window -> Customize Perspective -> Shortcuts -> Submenus: Open Perspective -> Disable Java
Window -> Customize Perspective -> Shortcuts -> Submenus: Open Perspective -> Disable Resource
Select if it’s not already selected Window -> Open Perspective -> Other… Flash FDT and press OK

Then close this views:
- SWF Viewer
- Javadoc View
Then open the Ant view from Window -> Show View -> Ant and dock it with the Outline panel.
If you want you can select the button Link with Editor inside the Flash Explorer so the current file you are editing will be selected in the Flash Explorer project tree.
The final look will be this (click to enlarge):
I suggest you to move the minimized toolbars (like Flash Explorer, Outline Panel, Problems, etc.) at the bottom of the interface so when everything is minimized and you’re writing code you’ve the maximum space available like this (click to enlarge):
hi! i like ur website… Thanks for the sharing….
Do you know of any way to map a keyboard shortcut to a specific ANT task (not just the default)?
Hi John, you can run a specific task using the External Tools:
Run -> External Tools -> External Tools Configurations…
Double click Ant Build and in the Targets tab you can select the ANT Task that you want to execute.
Then bind it to the shortcut you like:
Window -> Preferences -> General -> Keys
Select Runs the last launched external Tool and select the shortcut that you want to use.
[...] Wir haben bereits zwei Mal über die hervorragenden Tutorials von Riccardo Bartoli berichtet – doch bekanntlich sind alle guten Dinge drei. Im dritten Teil seiner Trilogie geht es um die Konfiguration von Eclipse 3.5 und FDT 3.2. [...]
Great post!
Can I ask do you know where the Flash ASO directory is on Mac OSX?
Thanks!
You can find the ASO directory at this path:
/Users/username/Library/Application Support/Adobe/Flash CS4/language/Configuration/Classes
Eclipse 3.5 and FDT 3.2 for Actionscript development – Part 3 – Configuration http://hex.io/18ic #actionscript #as3 #FDT
This comment was originally posted on Twitter
Eclipse 3.5 and FDT 3.2 for Actionscript development – Part 3 – Configuration http://hex.io/18ic #actionscript #as3 #FDT (via @rbartoli)
This comment was originally posted on Twitter
RT @rbartoli: Eclipse 3.5 and FDT 3.2 for Actionscript development – Part 3 – Configuration http://hex.io/18ic #actionscript #as3 #FDT
This comment was originally posted on Twitter
RT @Powerflasher: Eclipse 3.5 and FDT 3.2 for Actionscript development – Part 3 – Configuration http://hex.io/18ic #actionscript #as3 #FDT
This comment was originally posted on Twitter
RT @Powerflasher: Eclipse 3.5 and FDT 3.2 for Actionscript development – Part 3 – Configuration http://hex.io/18ic #actionscript #as3 #FDT
This comment was originally posted on Twitter
@ahmednuaman If you need help with the #FDT installation http://bit.ly/cJp1Q
This comment was originally posted on Twitter