May 8, 2006
Update: Intelli/J IDEA SimpleSyntax Highlighter Plugin
I’ve made available the plugin through the IDEA Plugin Manager. It’s still at an early alpha stage. Basically still a prototype. But I find it quite useful already. Apart from Ruby highlighting I use it to highlight its own configuration file syntax as well as property files and some other work-related file types.
Just before uploading the latest version a few minutes ago I’ve spent some time on improving the performance. Probably the major problem of the plugin right now. If you’ve followed my recent posts on the IDEA plugin topic you may recall that I explicitly decided not to use a system like jflex. Well, by now I realize that this has certain implications. Mainly performance related.. :)
What I’m now thinking about is providing an alternative configuration syntax that can be used with jflex, but doesn’t use the complicated jflex syntax. And I’m thinking about compiling it at runtime using Groovy. Well, it’s still just a thought.
More importantly: I’m still waiting for the project to be approved at Tigris. I tried SourceForge first, but no response after five days.. For now the plugin sources are available at my IntensiCode site.
If you’re interested, check out the included TODO.txt to get an idea of what I have planned and/or what I’m dealing with.
And if you want to see some really awful stuff, have a look at my ConfigurableLanguage hack (in the src/net/intensicode/idea/core folder). Who’s to blame? Me because I’m trying to abuse the API? Or the JetBrain guys because they are trying to protect their application? (I’m guessing here.. I don’t really know why they choose to use global registries all over.. To be honest I probably would never use something like a global registry.. Just because global itself has such a bad smell.. together with registry it stinks..)
tfdj
Filed by The.French.DJ at 1:55 am under Development, Java, Ruby
2 Comments