You don't have to wait for Eclipse 3.5 to conveniently generate toString() method for any class. Here's a plug-in version, tested with Eclipse 3.2, 3.3 and 3.4.
Enjoy!
Thursday, August 21, 2008
Subscribe to:
Post Comments (Atom)
This blog is dedicated to my work on Google Summer of Code projects: the "toString() generation" project from 2008 and more recent "Tree views for Zest". Both projects are done for Eclipse.
3 comments:
Very useful! But I don't see item "Generate toString()" after Alt+Shift+S in editor (Eclipse 3.3.1)
Thank you this is very useful. I really missed the toString() feature now that JUtils is no longer compatible with the latest release of eclipse.
Good plugin. A small improvement with StringBuffer-based template: remove the last comma and space if the last element is null. Instead of
Foo:[x=1,y=2, ] print
Foo:[x=1,y=2]
Post a Comment