Overwrite "Language" field for code-templates?
Alex Muthmann <[email protected]>
| Newsgroups | gmane.comp.java.netbeans.modules.openide.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi again,
i currently want to add some code-templates to my plugin
http://wcm.io/tooling/netbeans/sightly/ using this FAQ:
http://wiki.netbeans.org/DevFaqEditorHowToAddCodeTemplates
Works fine so far but I wonder, if there is an option to overwrite the
value of the Language displayed in Options -> Editor -> Code Templates
-> Language.
Currently my Templates are sorted into the HTML language but I'd love to
see them in Sightly while keeping the mimeType html. I think this is
related to my other issue already posted on this mailing list (I can't
implement a new Language as Netbeans does not allow multiple Languages
registered on the same MimeType.
My current layer:
<!DOCTYPE filesystem PUBLIC "-//NetBeans//DTD Filesystem 1.2//EN"
"http://www.netbeans.org/dtds/filesystem-1_2.dtd">
<filesystem>
<folder name="Editors">
<folder name="text">
<folder name="html">
<folder name="CodeTemplates">
<file name="io-wcm-tooling-netbeans-sightly-codetemplates.xml"
url="code-templates.xml"/>
</folder>
</folder>
</folder>
</folder>
</filesystem>