GenerateToString and IntelliJ 8.x

The generate toString plugin seems to be bundled now and I see the toString() option in the alt + ins popup (and it works). However, how do I change the template it uses? That used to be available in settings under a GenerateToString item.

I no longer see this under the settings menu. By default the plugin uses string concatentation and I would really like to change that to a StringBuilder (which is possible with the templates that I used to be able to access).

2 comments
Comment actions Permalink

Hello Michael,

The generate toString plugin seems to be bundled now and I see the
toString() option in the alt + ins popup (and it works). However, how
do I change the template it uses? That used to be available in
settings under a GenerateToString item.

I no longer see this under the settings menu. By default the plugin
uses string concatentation and I would really like to change that to a
StringBuilder (which is possible with the templates that I used to be
able to access).


The "Generate toString" dialog itself has a "Settings" button in the top
right corner.

--
Dmitry Jemerov
Development Lead
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"


0
Comment actions Permalink

Ahh....there it is. Thanks!

I almost always just enter right through that dialog as I usually want all the members to be included and they all are selected by default.

I didn't know I actually needed to stop and read the dialog:-) I am just a dumb user, we don't do common sense stuff like actually read dialogs, hah!

0

Please sign in to leave a comment.