Tag Archives: ide

Catching up with what’s new in recent (and not so recent) versions of Eclipse

When new versions of the IDE are released, I’ve often updated my install and carried on without paying much attention to what’s new other than what I happen to run into. So here I’ve trawled some “what’s new” and “new and noteworthy” documentation for things I found useful – some of them surprisingly old!

Juno (4.2)

To improve the presentation of the Debug perspective, the common debug control commands (Stop, Resume, etc.) have been moved out of the Debug view and into the global toolbar.

The global toolbar can be customized with the Window > Customize Perspective… action to add or remove debugging commands, or to show/hide the debug toolbar completely.

Old toolbar behavior can be restored by first toggling the Show Debug Toolbar option in the Debug view’s menu, then by disabling the Debug toolbar from the Customize Perspective dialog. (source)


A second addition in the same section of the compiler preferences, Switch is missing ‘default’ case, controls whether the JDT will flag switch statements with a missing default case, because such a switch statement will be skipped entirely at runtime if an unexpected value occurs. (source)

Helios (3.6)

Package names in Java views can now be abbreviated with custom rules. The abbreviation rules can be configured on the Java > Appearance preference page. (source)

Ganymede (3.4)

Unsorted views like the Outline view and the Members view in the Java browsing perspective can now be used to rearrange members by drag and drop. (source)

Useful Eclipse plugins

Following on from my note on FileSync, I thought I’d gather a list of useful plugins I use and have a look around for any new ones that are useful.

First, my usual ones:

  • Subclipse
  • eclipse-cs (Checkstyle)
  • PMD
  • FindBugs
  • Maven Integration for Eclipse WTP
  • Apache IvyDE

And ones I’ve recently tried out and found useful:

  • LogViewer – allows tailing of multiple log files, with coloured highlighting based on configured words and regular expressions
  • MoreUnit – allows quick creation of test classes, quick switching between a class and its test, amongst many other things
  • EclEmma – highlights code coverage of unit tests directly in the editor when you run the tests
  • Mousefeed – aids learning of keyboard shortcuts by displaying the corresponding shortcut when you perform an action using a mouse click

Effective Windows-Linux development using FileSync for Eclipse

The majority of development environments I work in involve a developer machine running Windows, while the application being developed builds and runs on a Linux machine. Typically, I have a directory on the Linux box as a mapped drive on my Windows machine.

That’s all fine, but Eclipse can be very sluggish when working with projects on mapped drives.

The FileSync plugin for Eclipse solves this problem by syncing changes you make in your project to any folder you desire. Have your project locally on your Windows machine, and set the plugin up to sync over to your Linux machine (it does creates, updates and deletions).

It excludes .svn files by default, but I recommend adding your Eclipse build output directory to the excludes list to avoid unnecessary copying. Note that it only syncs one way.