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 224533 - Enchanement for unimplemented methods - add //TODO Not yet implemented - function name
Summary: Enchanement for unimplemented methods - add //TODO Not yet implemented - func...
Status: NEW
Alias: None
Product: java
Classification: Unclassified
Component: Editor (show other bugs)
Version: 7.2
Hardware: PC Windows 7
: P4 normal (vote)
Assignee: Dusan Balek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-01-06 09:54 UTC by eino
Modified: 2013-01-07 12:04 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description eino 2013-01-06 09:54:07 UTC
When I create unimplemented function using Netbeans

It creates
=== NOW
String giveUniqueName(String fileName) {
        throw new UnsupportedOperationException("Not yet implemented");
 }
=== BETTER?
String giveUniqueName(String fileName) {
        //TODO: Not yet implemented - giveUniqueName(String filename)
        throw new UnsupportedOperationException("Not yet implemented");
 }

I love to use TODO and Ctrl-6 and I would like to see this kind of option.
I tried to find it in templates but no luck.
Comment 1 Jiri Prox 2013-01-07 12:04:14 UTC
You can customize the body of the generated method only in in 7.3 or newer. It's located  in Tools -> Templates
Unfortunately the method signature is not among the predefined variables - there is only the method name