ann: toString() plugin v1.60 released

v1.60 of the toString() plugin has been released at the offical homepage for this plugin at:

http://www.intellij.org/twiki/bin/view/Main/ToStringPlugin

This version is only for the IDEA 4.x series.

About the plugin
================
GenerateToString is a action plugin for IDEA that is used to create or update java classes toString() method. The reason is valuebeans usually needs to dump their fieldvalues for debug purpose, and it's tedious to write the dump code for this. So this action plugin generates the code to dump all the fields in a simple manner.



Changelog:
==========
- Refactored code into several packages and other minor adjustments (renaming of classes etc.)
- Added ClassElement object
- ClassElement is added to the VelocityContext named 'class'
- The following VelocityContext information added:
$class the ClassElement object.
$class.name the name of the class.
$class.qualifiedName the fully qualified name of the class.
$class.hasSuper does the class have a superclass? (extends another class - note extending java.lang.Object is not concidered having a superclass).
$class.superName the name of the superclass (empty if no superclass).
$class.superQualifiedNname the fully qualified name of the superclass (empty if no superclass).
$class.implements(interfaceNames) tests if the class implements the given interface name. Returns a boolean.
$class.implementNames returns the classnames of the interfaces the class implements. Returns a string array. An empty array is returned if the class does not implement any interfaces.
- Default templates are stored in external .vm files in the dk.maerskdata.idea.plugin.generate.templage package.
- Started working on template repository (disabled for v1.60)



/Claus, the author

5 comments

I can't see it in the PluginManager, is it there? If not can you put it
in please, ta :)

N.

Claus Ibsen wrote:

v1.60 of the toString() plugin has been released at the offical homepage for this plugin at:

http://www.intellij.org/twiki/bin/view/Main/ToStringPlugin

This version is only for the IDEA 4.x series.

About the plugin
================
GenerateToString is a action plugin for IDEA that is used to create or update java classes toString() method. The reason is valuebeans usually needs to dump their fieldvalues for debug purpose, and it's tedious to write the dump code for this. So this action plugin generates the code to dump all the fields in a simple manner.



Changelog:
==========
- Refactored code into several packages and other minor adjustments (renaming of classes etc.)
- Added ClassElement object
- ClassElement is added to the VelocityContext named 'class'
- The following VelocityContext information added:
$class the ClassElement object.
$class.name the name of the class.
$class.qualifiedName the fully qualified name of the class.
$class.hasSuper does the class have a superclass? (extends another class - note extending java.lang.Object is not concidered having a superclass).
$class.superName the name of the superclass (empty if no superclass).
$class.superQualifiedNname the fully qualified name of the superclass (empty if no superclass).
$class.implements(interfaceNames) tests if the class implements the given interface name. Returns a boolean.
$class.implementNames returns the classnames of the interfaces the class implements. Returns a string array. An empty array is returned if the class does not implement any interfaces.
- Default templates are stored in external .vm files in the dk.maerskdata.idea.plugin.generate.templage package.
- Started working on template repository (disabled for v1.60)



/Claus, the author

0

Is it the plugin manager that is integrated with IDEA v4.0?

How do I integrate with the plugin manager?

I usually just update the wiki sites.

Any URL's for this manager?

/Claus

0

I added v1.60 to the IDEA plugin manager (the offical plugin manager from IDEA itself)

For all the notes, docs etc. go see the wiki homepage
http://www.intellij.org/twiki/bin/view/Main/ToStringPlugin

0

Thanks! :)

Claus Ibsen wrote:

I added v1.60 to the IDEA plugin manager (the offical plugin manager from IDEA itself)

For all the notes, docs etc. go see the wiki homepage
http://www.intellij.org/twiki/bin/view/Main/ToStringPlugin

0

Claus Ibsen wrote:
> How do I integrate with the plugin manager?


Plugins' official home is here:
http://plugins.intellij.net/plugins


Alain

0

Please sign in to leave a comment.