Generate tostring

Is there a reason this plugin doesn't use a StringBuffer, myself and many others I've spoken to would much prefer if it did.

Dean Pullen.

7 comments
Comment actions Permalink

Though I am on the EAP version and may have a different interface/features, this plugin has supported templates for quite awhile. The version have has templates for String, StringBuffer and StringBuilder. Go to Setting/Plugins and select the GenerateToString. Go to Edit Template and activate one of the other flavors.

0
Comment actions Permalink

I'm not sure how I ever missed this (along with a few others, which makes me feel much better). Thanks a lot.

Dean.

0
Comment actions Permalink

Yep there are quite a few different templates to choose among.

Let me know if you have a custom template you think is worth out-of-the-box?


/Claus, the author of the plugin

0
Comment actions Permalink

One that uses the apache commons ToStringBuilder would be handy.

0
Comment actions Permalink

Marc, added to my todo list. I'll include such template in the next or next version ;)

0
Comment actions Permalink

Marc,

v3.26 that is just released has such a template out of the box.

Could you check it to see if it fits your needs?

0
Comment actions Permalink

Yep the settings is hidden ;)

I have added some screenshots of the plugin in action at the plugin homepage
http://plugins.intellij.net/plugin/?id=182

0

Please sign in to leave a comment.