toString() Generator - plugin detail
toString() Generator for Java.
Fields and methods(!) to consider can be selected (also inherited fields and methods).
Tree different generating styles are available: String concatenation, StringBuilder or StringBuffer.
@Override can be generated and you can select if it should use Arrays.toString().
If toString() already exists the generator shows a warning and you can choose to overwrite the existing method.
Invocation is done the same way as for inserting getters and setters: 1. Open the class in the editor, 2. Put the cursor to somewhere inside the class's body, 3. Press Alt+Ins or invoke context menu and select "Insert Code", 4. Select "toString()", 5. Press enter
| Plugin owner: |
simas |
| Website: |
https://code.google.com/p/nbtostring/ |
| Added: |
2009-09-07 |
| Last updated: |
2010-06-16 |
| NetBeans Versions: |
6.8 |
| License: |
GPL v2 |
| Category: |
Desktop Applications |
| Size: |
0.06 MB |
| Downloaded: |
2,399 times |
| Rating: |
|
Verifications for NetBeans versions
Decisions of individual verifiers for toString() Generator plugin for NetBeans IDE 6.7
Comments
|
Introduction
Please find more information on the project homepage: https://code.google.com/p/nbtostring/
What's new in this version
IMPORTANT NOTICE
If you are looking for a version for NetBeans 6.9 go to http://plugins.netbeans.org/PluginPortal/faces/PluginDetailPage.jsp?pluginid=30004
Release Notes - nbtostring - Version 0.3.0 - 2009-09-11
Bug
[NBTOSTRING-13] - No selection creates invalid toString
New Feature
[NBTOSTRING-1] - Provide an option to use StringBuffer/-Builder instead of String concatenation
[NBTOSTRING-3] - Provide an option for whether to use native array presentation or Arrays.toString()
[NBTOSTRING-9] - Notify about a possible final implementation in super class
[NBTOSTRING-10] - Notify user about the fact the existing toString() will be replaced
[NBTOSTRING-14] - Create Option whether to create @Override
Sub-task
[NBTOSTRING-6] - b) Create options where a user can specify the behavior globally
[NBTOSTRING-8] - c) Use a) and b) where a) uses the value of b), but the user can switch for the particular creation
[NBTOSTRING-15] - Add option for @Override to generator panel
[NBTOSTRING-16] - Create @Override option in global options panel
[NBTOSTRING-17] - Support @Override to be stored/loaded in the preferences
[NBTOSTRING-18] - Support whether to create @Override in the builder methods (ch.simas.tostring.builder)
Release Notes - nbtostring - Version 0.2.0 - 2009-09-09
New Feature
[NBTOSTRING-2] - Replace toString() if already existing
Sub-task
[NBTOSTRING-7] - a) Provide a checkbox in the selection panel stating e.g. "Use StringBuffer instead of String"
|
[ You have to be logged in to be able to comment. ]
User Comments
nice!
really nice work .may be you should add ref and submit this as patch
Posted by theanuradha on Sep 08, 2009