How to extend the Eclipse Java Editor to add coloured overlays

Posted by Gavin Clarke on Stack Overflow See other posts from Stack Overflow or by Gavin Clarke
Published on 2010-06-06T18:17:18Z Indexed on 2010/06/06 18:22 UTC
Read the original article Hit count: 328

Filed under:
|

I have an idea for an Eclipse plugin which I've been toying with. I need to be able to extend the Eclipse Java Editor component and add coloured overlays to the code based on pluggable external metrics. Unfortunately there doesn't appear to be any kind of syntax highlighting extension point.

Does anyone know how I might be able to extend the exisitng eclipse Java Editor to add custom highlighting rules?

Bear in mind I'm new to Eclipse plugin programming so please give as much detail as possible.

© Stack Overflow or respective owner

Related posts about java

Related posts about eclipse-plugin