Archive July 2010

Changing the ASDoc Author name in FDT

07/26/2010 in RIA View Comments

One thing that you will notice when creating new .as files in FDT is that the default ASDoc Author will default to your systems user account. In my case, my user account on my system is “bconnatser”. I would rather have my full name shown as the author automatically when creating new Classes. There are two ways, at least, to make this setting change for FDT. One will permanently make the change for you from within the eclipse.ini file. The other way is from with FDT preferences settings.

Permanent change in the eclipse.ini:

  • Browse to the FDT install – In my case on OSX – “Applications/FDT/FDT4_Beta/FDTEnterprise/”
  • Then right click / CTRL + Click on FDT 4 and choose “Show Package Contents”
  • Now browse in the opened package contents to – “Contents/MacOS/” and open to edit eclipse.ini
  • Add the following, without quotes: “-Duser.name=[YOUR NAME]“

*The same is true if you are using FlashBuilder 4, just browse to your install folder and follow the instructions above.

Inside FDT’s Preferences:

  • Go to Preferences/FDT/Code Style/Code Templates (Misc)
  • Check “Override System Username- $(user)”
  • Enter the name you would like to use as the auther in the text field.
  • Click Apply
  • Click OK

Now when creating new Classes your Author name will be set to your desired name, rather than the user account on your system.

Switch to our mobile site