This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 171541

Summary: toString method generation
Product: java Reporter: abien <abien>
Component: EditorAssignee: Dusan Balek <dbalek>
Status: RESOLVED DUPLICATE    
Severity: blocker    
Priority: P2    
Version: 6.x   
Hardware: All   
OS: All   
URL: http://www.adam-bien.com/roller/abien/entry/two_useful_eclipse_3_5
Issue Type: ENHANCEMENT Exception Reporter:

Description abien 2009-09-05 09:46:41 UTC
I miss the generation of the toString method from alt+insert / ctrl + i popup. The toString method should include the class name, the attributes with names 
and values.
Comment 1 Max Sauer 2009-09-07 10:43:29 UTC
Yes, this could be done. In the meantime, you can use code completion to provide toString() stub:

toS|  //pipe stands for caret, select 'toString()'
Comment 2 simas 2009-09-09 14:40:43 UTC
Such a plugin is now available:
http://plugins.netbeans.org/PluginPortal/faces/PluginDetailPage.jsp?pluginid=21008
Comment 3 jaylogan 2010-12-05 12:41:43 UTC

*** This bug has been marked as a duplicate of bug 60745 ***