I just installed the 7.1 release of the ASDT Editor plugin for Eclipse and noticed a feature which is either new, or that I was unaware of previously. You can now auto generate getters / setters for all private properties in the same manner that the Eclipse Java Editor allows you to. In order to take advantage of this feature the file’s editor must have focus, then simply click Ctrl+Shift+G to open the generate Getters / Setters dialog box (you can also go to the “Source” menu and select the “Generate Getters and Setters” menu item). The dialog box allows you to select which properties you would like to auto-generate code for and whether you want to generate both getters and setters or just one or the other. This is an absolutely killer feature which helps prevent silly typos and pushes back the inevitable carpal tunnel–awesome to see a new release from the ASDT dev team!
-
RSS Feeds
-
Categories
-
Archives
- January 2009
- December 2008
- November 2008
- September 2008
- August 2008
- July 2008
- June 2008
- May 2008
- April 2008
- March 2008
- February 2008
- October 2007
- August 2007
- July 2007
- June 2007
- May 2007
- April 2007
- March 2007
- December 2006
- November 2006
- October 2006
- August 2006
- May 2006
- April 2006
- March 2006
- December 2005
- October 2005
- September 2005
- August 2005
- July 2005
- June 2005