Replies: 1 comment 3 replies
-
My understanding of this: runs through all "config" file/objects under the In the same file you find: This is the code that makes the textmake grammar/lexer definitions available to NetBeans and as you can see it uses the The entry from the graphic above is created by this: The annotation processor in the So register the grammar and you should be done. |
Beta Was this translation helpful? Give feedback.
-
It came into my mind, when I wanted to add vue into NetBeans completely over textmate for syntax highlighting and LSP for vue features, etc. The problem here is, it seems that NetBeans don't handle includes or sub languages from textmate.
Vue can handle html (default), pug, haml, ts, js, css, scss, less, stylus, postcss. And if some pattern is matching for example lang="pug" there is this block in the textmate file:
and when I understand it correctly, it searches for a registered pug textmate module, but how is this done in NetBeans? Is this already implemented and if yes, how this is working? Maybe @jlahoda or @matthiasblaesing can help here. Thx.
Beta Was this translation helpful? Give feedback.
All reactions