Saturday August 01, 2009
JavaCC Edit & Compile Support for NetBeans IDE
Great news if you're using JavaCC in NetBeans IDE... you're in luck, because Tomás Lázaro created JavaCC support and uploaded it to the Plugin Portal:
http://plugins.netbeans.org/PluginPortal/faces/PluginDetailPage.jsp?pluginid=20277
Here's "before"...
...and here's "after" (i.e., after I installed his plugin):
So now I can compile JavaCC from inside the IDE, plus I have syntax coloring. Tomás wants to add additional features, such as file templates. Especially for beginners using JavaCC in NetBeans IDE for the first time, that would be extremely useful, I think.
I believe this plugin is a great candidate for the NetDEV program. I.e., that would mean it would become a standard part of NetBeans IDE, for JavaCC users. Sure, that's a pretty small niche. Still, every member of that niche is working on creating new editors, some of which could be interesting for NetBeans IDE itself. And every new editor in NetBeans IDE is a MAJOR new feature. Plus, imagine if you were someone deciding whether to create your editor on Eclipse RCP or on the NetBeans Platform. Wouldn't the fact that NetBeans IDE has tooling for JavaCC, however rudimentary, factor into your decision?
And here's the tutorial about HOW to use JavaCC in NetBeans IDE, recently supplemented with a number of screenshots and corrective tweaks:
http://wiki.netbeans.org/How_to_create_support_for_a_new_language
Aug 01 2009, 04:48:05 AM PDT Permalink


