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

Summary: Enchanement for unimplemented methods - add //TODO Not yet implemented - function name
Product: java Reporter: eino <eino>
Component: EditorAssignee: Dusan Balek <dbalek>
Status: NEW ---    
Severity: normal    
Priority: P4    
Version: 7.2   
Hardware: PC   
OS: Windows 7   
Issue Type: ENHANCEMENT Exception Reporter:

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