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 27755 - Abbreviations in code completion
Summary: Abbreviations in code completion
Status: RESOLVED FIXED
Alias: None
Product: editor
Classification: Unclassified
Component: Completion & Templates (show other bugs)
Version: 3.x
Hardware: PC Windows ME/2000
: P3 blocker with 3 votes (vote)
Assignee: issues@editor
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-10-03 09:28 UTC by Martin Roskanin
Modified: 2008-10-15 09:08 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 Martin Roskanin 2002-10-03 09:28:46 UTC
It would be nice to support abbreviations, and
other usefull templates via code completion.
I.e:
for| Crtl+space will offer templates for "for"
cycle like:
for (int i=0; i<VAR; i++){
}

or i.e. template for iterator:

while (iterator.hasNext()) {
type_decl var_name = (type_decl)iterator.next();
        }

after template substitution into the document
there should be possibility to change dynamicaly
the variable names, iterator name or type
declaration at once. For example if you are
changing the type_decl before var_name, it is
dynamicaly changing in casting also.
Comment 1 Jiri Hana 2003-08-06 14:58:24 UTC
I would like to see a separate shortcut for abbreviations and code
completition (or possibility to choose between separate and single
shortcut). Something like JBuilder has: Ctrl-J and a listbox of abbrs
comes up. And of course possibility to switch off automatic abbr
expansion.
Comment 2 psuk 2004-03-23 19:15:16 UTC
Changing subcomponent to "code completion"

Comment 3 Dusan Balek 2008-10-15 09:08:16 UTC
Already implemented.