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 194737 - uniqueness of code templates' abbrievations
Summary: uniqueness of code templates' abbrievations
Status: NEW
Alias: None
Product: editor
Classification: Unclassified
Component: Completion & Templates (show other bugs)
Version: 7.0
Hardware: PC Windows XP
: P3 normal (vote)
Assignee: Dusan Balek
Depends on:
Reported: 2011-01-26 14:06 UTC by mcinp
Modified: 2016-04-06 20:01 UTC (History)
1 user (show)

See Also:
Exception Reporter:


Note You need to log in before you can comment on or make changes to this bug.
Description mcinp 2011-01-26 14:06:42 UTC
When defining code templates there's a restriction that an abbrievation can only be used 1 time.
But in many text editors it is possible to define many templates for 1 abbrievation so that when an abbrievation is entered and there are more than 1 template defined for it, the user is presented with a list of options to choose.
For example, in html we could define entries for abbrivation "input" where options would be:
<input type="text"...
<input type="button"...
<input type="checkbox"...


This is a trivial example, but this technique has more advanced applications.