Does anyone know if there is any tutorial on creating syntax highlighter for custom language in NetBeans?
Syntax highlighting is one strategy to improve the readability and context of the text; especially for code that spans several pages. The reader can easily ignore large sections of comments or code, depending on what they are looking for. Syntax highlighting also helps programmers find errors in their program.
You're in luck! It looks like that question has been answered with an in-depth tutorial here: http://wiki.netbeans.org/DevFaqSyntaxHighlight
It's a tutorial for a fictional language, but you should be able to follow through with your own custom language by following the principles it sets out.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With