Are there any simple custom language plugin examples/tutorials around. One that explains more than just "use JFlex"...
I often have to work with custom languages, some simple, some complex, and I usually have an ANTLR grammar definition around, or can put one together. Converting this knowledge in to a plugin does not seem easy right now.
After reading the custom language plugin doc on the IntelliJ website, I was following along nicely, up to the point of "go use JFlex". Darn. I had that whole language file type registration down along with its pretty little icon.
It would be really nice if I didnt have to wait 4 hours (ok, a slight stretch of reality, but it sure feels like it) for a fresh new instance of IDEA to start up just to test my plugin - why cant I load this in to my current running editor?
With a simple, complete plugin project I could see the basic syntax highlight, variable definition, and some of the simpler validations and operations, and how to go about changing them. If the project requires an Ant script to do the JFlex integration, so be it, just add it in there.
I'm truly amazed that anyone outside of Jetbrains have developed a custom language plugin given the docs and examples around.
With that said, the file type syntax highlight options (in Settings-->File Types) are very nice for simple highlighting, so thanks for that. However, I'd like to progress to syntax validation and variable definition lookup etc.