2009 was a year with a lot of ups and downs for me personally and I guess that was the same all over the world. 2009 had been very eventful both personally and professionally. I had to deal with lot of challenges as I move forward in my career and of course nothing to complain about since, good or bad it is always experiences that teaches us to deal with life.
Adobe Flash community strengthened itself this year even in economic recession period it did stand apart from the rest. Hope we won’t face such a recession time ever again. We had our Ahmedabad user group to be more active this year and I believe we should try and put in more efforts to spread more awareness among people about the community and its activities. We planned to launch a user group website this year but unfortunately due to hectic schedules that never happened but this time we will surely get it done. I could see many new development in the RIA and it gives a clear indication that 2010 will be an year which will obviously include wide adoption of Flex 4(as it is due to be released in 2010) but also mobile development will also be a major part. I also got a chance to attend an Adobe event this year for the very first time which was quite important for me and will look forward to attending such events in 2010.
It has been about 3 years in this beautiful city of Ahmedabad and I have been working with a great team here which is rapidly gaining strength. I am not sure as to how long will I continue here but I love this place and love working with my team.
Goodbye 2009. Welcome 2010. Wishing you all a very happy new year
Today one of my friends asked me if there is a way or any facility in Flex Builder to format a messy/unformatted code rather than doing it manually. There are no ways as such in the flex builder IDE which is based on Eclipse to provide indent to a particular block of code or to format a certain block of code. With the help of my colleague we found out that there is a plugin called Flex Formatter for Flex builder which will take care of the formatting of your code once you have made a messed up code in your application.
The Flex Formatter is an open source project which enables source code formatting of Adobe Flex code ie. MXML and AS 3.0 files inside FlexBuilder.
How to use it?
1. Download the project from http://sourceforge.net/projects/flexformatter/ which will have a WINRAR Zip Archive which is named as FlexPrettyPrintCommand_0.6.27.
2. Unzip this file and you will have three more WINRAR Archive file.
3. Copy the three zip files and goto the FlexBuilder folder in Windows where the Flex Builder files are installed.
4. Open the plugin folder and paste the three files there.
5. Close and restart your flex builder and now it is ready to use.
As soon as you restart the flex builder you will have 5 icons at the top in your toolbar as shown in screen below:
The Flex Formatter has the following features:
1. Format Flex Code (selected lines or documents).
2. Indent Flex Code (selected lines).
3. Re arrange AS code(whole file).
4. Generate AS Doc comments for files.
5. Generate AS Doc comment for current element.
I have tried the features with small blocks code and small AS files and it did work very well but I am still wondering how it will work with files which has more than thousand lines of code? Will the builder crash ?Need to check it out.Since writing a code which is messed up is not at all recommended when delivering an application, but developers who have to live with it have a simple solution using Flex Formatter. Plug it in your flex builder and see the difference for yourself 🙂
Since twitter is the platform where people interact more nowadays, even Adobe Group is on Twitter. I also thought it would be great idea if Ahmedabad FUG will be on twitter and I have done exactly that , we are on twitter now http://twitter.com/ahmedabadfug . Hope people will start following :).. Cheers