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 152154

Summary: Add templates to completion popup
Product: editor Reporter: jalexoid <jalexoid>
Component: Completion & TemplatesAssignee: Dusan Balek <dbalek>
Status: RESOLVED DUPLICATE    
Severity: blocker CC: gsporar
Priority: P4    
Version: 6.x   
Hardware: All   
OS: All   
URL: http://jalexoid.blogspot.com/2008/11/netbeans-65-vs-eclipse-34-ganymede-on.html
Issue Type: ENHANCEMENT Exception Reporter:

Description jalexoid 2008-11-02 15:09:08 UTC
Not only classes and code generation elements in the code completion popup, but the code templates. Such as typing main
and pressing Ctrl+Space in Eclipse IDE will give you an option to create a main method.
Comment 1 Dusan Balek 2008-11-03 09:53:31 UTC
Note, that some code templates are already present in code completion popup (try to type e.g. 'for' within a method
body), however there is not template for main.
Comment 2 markiewb 2012-12-08 12:17:42 UTC
(In reply to comment #1)
> Note, that some code templates are already present in code completion popup
> (try to type e.g. 'for' within a method body)

See #129278

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