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 123170 - abbreviations (Code Templates)
Summary: abbreviations (Code Templates)
Status: VERIFIED FIXED
Alias: None
Product: groovy
Classification: Unclassified
Component: Editor (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: schmidtm
URL: http://wiki.netbeans.org/wiki/view/Gr...
Keywords:
Depends on:
Blocks:
 
Reported: 2007-11-30 17:15 UTC by schmidtm
Modified: 2008-10-30 14:25 UTC (History)
0 users

See Also:
Issue Type: TASK
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description schmidtm 2007-11-30 17:15:27 UTC
Enable Groovy-specific code-abbrevations in the Groovy Editor.
Comment 1 schmidtm 2007-12-20 12:15:37 UTC
This enables the support and the coressponding customizers to expand some 1-4 letters to longer code fragments.
Take a look here: http://editor.netbeans.org/doc/UserView/apdx_b_abbrevs.html

For Java, these abbreviations can be configured here: Tools/Options/Editor/Code Templates
Comment 2 schmidtm 2007-12-20 13:09:35 UTC
code templates under NB6 are stored here: ~/.netbeans/dev/config/Editors/text/x-groovy/CodeTemplates
Comment 3 schmidtm 2007-12-21 16:37:24 UTC
OK, now we have a starting set of abbreviations. This needs to grow and might be accompanied with some more
domain-specific patters, especially grails.

http://www.netbeans.org/source/browse/scripting/groovy/editor/src/org/netbeans/modules/groovy/editor/resources/DefaultAbbrevs.xml?r1=1.1&r2=1.2
Comment 4 Lukas Jungmann 2008-10-13 14:25:27 UTC
v.