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 - Completion doesn't work on new code templates
Summary: Completion doesn't work on new code templates
Status: RESOLVED DUPLICATE of bug 212176
Alias: None
Product: editor
Classification: Unclassified
Component: Completion & Templates (show other bugs)
Version: 7.3
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: Dusan Balek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-11-01 17:56 UTC by ent38
Modified: 2012-11-27 13:16 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 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 ***