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 - toString method generation
Summary: toString method generation
Status: RESOLVED DUPLICATE of bug 60745
Alias: None
Product: java
Classification: Unclassified
Component: Editor (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker with 9 votes (vote)
Assignee: Dusan Balek
Depends on:
Reported: 2009-09-05 09:46 UTC by abien
Modified: 2010-12-05 12:41 UTC (History)
0 users

See Also:
Exception Reporter:


Note You need to log in before you can comment on or make changes to this bug.
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:
Comment 3 jaylogan 2010-12-05 12:41:43 UTC

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