Re: Implement additional Hints for existing Language
Alex Muthmann <[email protected]>
| Newsgroups | gmane.comp.java.netbeans.modules.openide.devel |
|---|---|
| Message-ID | <[email protected]> |
Hey, I'm the developer of the Netbeans Sightly Plugin (http://wcm.io/tooling/netbeans/sightly/) which currently provides basic support for Sightly in Netbeans. As I spend most of my time in Sightly Templates by now, I'd like to extend the plugin with new functionality I think might be handy (documentation, hints, templates etc). Please feel free to contact me directly if you have any in depth questions Am 2016-10-11 17:46, schrieb Jean-Marc Borer: > Hi Alex, > https://mail.dev-eth0.de/?_task=mail&_action=compose&_id=139352345857fe132be919a# > I followd this thread very carefully because I am interested by this > topic. > > One thing I would like to understand is what do you have in mind: > 1) extend any HTML editor with Sightly hints > 2) define a Sightly editor based on or extending HTML > > What do you want to do? > > On Tue, Oct 11, 2016 at 2:04 PM, Alex Muthmann <[email protected]> > wrote: > >> Hi Svata, >> >> thanks for your time! >> >> If you make the IDE to recognize your HTML files as >> text/x-sightly+html, >> you could register your Language Sightly language (based on HTML) >> and >> eventually get a combination of tools for text/html AND >> text/x-sightly+html (which takes precedence). > > This would mean that I have to force everybody using the plugin to > change the mimeType? > >>> I wonder whether simple registration of your rules would be >>> sufficient - >>> register in mf-layer's folder >>> "csl-hints/text/html/error|hints|suggestions|selection/<category> > > THAT sounds really good I'll definitly have a look into this option. > As I already failed with the (imho) easiest way: implement language > and here we go, I didn't think that this could work.