Re: Implement additional Hints for existing Language
Jean-Marc Borer <[email protected]>
| Newsgroups | gmane.comp.java.netbeans.modules.openide.devel |
|---|---|
| Message-ID | <CADAUzbnZCtRz2e3Lucx2-G41A9Zya6dhg2hQguLgM=vPAA2Gew@mail.gmail.com> |
Hi Alex, 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. >