问题
Does anyone know if there is any tutorial on creating syntax highlighter for custom language in NetBeans?
回答1:
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.
来源:https://stackoverflow.com/questions/4400542/netbeans-custom-syntax-highlighter