The question of today is the following: I m developing a code generator for my department at university. It s very simple: they want to use a custom "scripting" language really human readable, parse that and then translate these instructions in Java. I used SableCC to do the trick, it was really smooth. The problem now is that I have to create a plugin editor for Eclipse, mainly for a syntax highligthing purpose and possibly to catch validation errors.
I ve found many tutorials about "how to create a custom editor in Eclipse" but what I can t figure out is: I ve already created my parser and my scanner rigth? It s nonsense to do that again for the editor. Is there a way to integrate my scanner inside the plugin? What class should I extend or implement? Can you suggest any tutorial?