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 166847 - Java code templates missing for Scala
Summary: Java code templates missing for Scala
Status: NEW
Alias: None
Product: contrib
Classification: Unclassified
Component: Scala (show other bugs)
Version: 6.x
Hardware: PC Linux
: P3 blocker (vote)
Assignee: _ dcaoyuan
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-06-10 11:55 UTC by dynamite
Modified: 2009-06-10 11:57 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments
codetemplates.xml (3.04 KB, text/xml)
2009-06-10 11:57 UTC, dynamite
Details

Note You need to log in before you can comment on or make changes to this bug.
Description dynamite 2009-06-10 11:55:20 UTC
There are a number of code templates in Java that make sense for Scala, e.g. ex gives extends.  There is also a few
simple templates that would also make sense such as tr for trait.  I have tried changing
scala.editing/src/org/netbeans/modules/scala/editing/resourcescodetemplates.xml to include the templates and found that
they worked without problems.  I will attach the codetemplates.xml file and would be grateful if you would integrate
with the standard distribution.
Comment 1 dynamite 2009-06-10 11:57:32 UTC
Created attachment 83396 [details]
codetemplates.xml