Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Netbeans custom syntax highlighter [closed]

Does anyone know if there is any tutorial on creating syntax highlighter for custom language in NetBeans?

like image 791
Jarek Avatar asked Dec 09 '10 16:12

Jarek


People also ask

Is syntax highlighting necessary?

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.


1 Answers

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.

like image 92
Derek Stobbe Avatar answered Oct 30 '22 10:10

Derek Stobbe