Display coverage info in a custom text editor column
Brought to you by:
mtnminds
Sometimes it can be a bit distracting having your whole java file coloured in bright green and red. Eclipse 3.3 added the ability to contribute extra columns to text editors.
I have attached a fragment that adds this feature. This eclipse 3.3 specific function could be delivered by an optional feature (with version constraints).
new feature plugin to add a coverage column
Logged In: YES
user_id=1586594
Originator: NO
Hi Brock,
many thanks for this contribution! I like the idea of using a fragment for Eclipse version specific stuff.
-marc
Logged In: YES
user_id=1867920
Originator: YES
You can actually use fragments to 'patch' the host plugin, but it requires you have to do some messing around with the classpath (add a placeholder 'patch.jar' in it). See http://wiki.eclipse.org/index.php/FAQ_Can_fragments_be_used_to_patch_a_plug-in%3F for details
I was just lucky that all of the code for this feature was new and didn't need patching.