Oisín Hurley's Weblog

old dog, new tricks

Some things I learned at the Eclipse Summit Europe 2007

with 3 comments

Eclipse users and developers know that the Eclipse platform is a bit of beast – there is just so much in there that if you don’t get the chance to poke your head out of your own personal Eclipse-interaction light cone, you can miss out on some cool stuff. And it turns out that the best way to do that is to come to these kind of conferences 🙂 Here’s some things I found out about yesterday.

Plugin Spy
Select something in the UI, hit Alt+Shift+F1, and you get a window containing an introspection of the current widget/part that you have selected. Check out the PDE Incubator page, and a blog entry from Chris. If you are using Eclipse 3.4M2 or later, you will find this feature already built-in.

Clean Ups
I use Checkstyle in most of my project work, and it and I have an uneasy relationship. The sort of one where the dishes get broken and people come around to bring the pets away. I have always whined that if Checkstyle is so smart, why doesn’t it get rid of that trailing space it spotted for me and stop bothering me? Well, it can’t do that, but Eclipse Clean Ups can. Woot!

A Clean Up is just a collection of refactorings that you use regularly on your code to keep it squeaky. You can run ’em manually, or have them run automatically when you save a Java file. Go to this developerworks article to find out more.

EclEmma
If you are familiar with the Emma Project then you will have probably guessed that this is a test coverage tool for Eclipse, based upon Emma. I’ve always found test coverage to be an invaluable tool for showing you where the great, gaping, black holes of non-deterministic behaviour reside in your code. There’s a lot of tools that can do coverage, and there are Eclipse integrations at varying levels of quality. What I liked about EclEmma is that it is quick and straightforward to use on a single Eclipse project, and gives me the results fast. Although the results are not always welcome 🙂

Update: Jeff McAffer’s Eclipse Update Talk [pdf link] has details of Plug-in Spy and Clean Ups.

Advertisements

Written by oisinhurley

October 11, 2007 at 7:07 am

3 Responses

Subscribe to comments with RSS.

  1. Plug-in Spy is now in 3.4M2 by default.
    The keybinding is ALT+SHIFT+F1 now

    Chris Aniszczyk

    October 11, 2007 at 3:21 pm

  2. Thanks, Chris! I’ve updated the entry.

    Oisin Hurley

    October 11, 2007 at 9:33 pm

  3. Yeah, Plugin spy looks very cool. I learned of it just a few weeks ago via this blog entry:
    http://www.pushing-pixels.org/?p=141
    I also have the same love/hate relationship with Checkstyle and the Clean Ups looks good. Brilliant!
    I wasn’t aware of Emma so I’ll have to check that one out.
    Thanks, Oisin!

    Bruce Snyder

    October 12, 2007 at 1:00 am


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: