Thursday, August 21, 2008

ToString() Generator Plug-in

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.


Andrey said...

Very useful! But I don't see item "Generate toString()" after Alt+Shift+S in editor (Eclipse 3.3.1)

Anonymous said...

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.

Anonymous said...

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