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 221275

Summary: Completion doesn't work on new code templates
Product: editor Reporter: ent38 <ent38>
Component: Completion & TemplatesAssignee: Dusan Balek <dbalek>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: P3    
Version: 7.3   
Hardware: PC   
OS: Windows 7   
Issue Type: ENHANCEMENT Exception Reporter:

Description ent38 2012-11-01 17:56:39 UTC
According to the http://wiki.netbeans.org/TS_73_JavaEditor#Test_suite:_Code_Templates test suite (3.10 test case : "Defining Custom Code Templates" :

- create a new template (e.g. with the "forx" name)
- try to invoke the new code template as an abbreviation (type "for" and CTRL+SPACE)
Result : it shows templates like "form", "forc", ..."forv", not the newly defined "forx" template.
Comment 1 Dusan Balek 2012-11-02 14:49:58 UTC
Originally, custom code templates were not intended to appear in code completion. However, we can make it an enhancement for the next release.
Comment 2 Dusan Balek 2012-11-27 13:16:56 UTC

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