Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[Wtp-wst-dev] Extending source parsers

Hi,

i've already posted to the eclipse forums about this issue, but i'm not sure if the WTP
developers follow this forum, so i'll ask here.

The last few days i've been trying to find info about extending the HTML/XML editor to support syntax-highlighting for grammars of templating languages which are not XML-compliant
( like http://www.twig-project.org/doc/templates.html).

However, i've found this bug report, which seems to indicate that this is not possible:

https://bugs.eclipse.org/bugs/show_bug.cgi?id=225994

As this bug report is quite old, i'd like to ask if this limitation is still true.

There is an extension point which sounds promising, but i'm not sure if this can be used to add syntax highlighting for tokens which are not recognized by the XMLTokenizer:

org.eclipse.wst.sse.ui.semanticHighlighting

any hints would be greatly appreciated!


regards,

-robert




Back to the top