psxpaul / EclipseJava7Refresher

An Eclipse plugin that uses new features in Java 7 to automatically refresh files in your workspace
Eclipse Public License 2.0
21 stars 3 forks source link

EclipseJava7Refresher

This is an Eclipse plugin that uses the new WatchService in Java7 to automatically refresh files in your workspace. This is useful if you edit files outside of Eclipse often, and find yourself frequently F5ing your workspace. This is different from my other project, EclipseJnotifyRefresher, in its implementation. The other project uses the open source jnotify library to provide filesystem change hooks, while this project uses the hooks built-in to Java7.

Installation

Normally, the above workspace option can cause performance issues on Linux and OSX, as there is no native hook implementation in Eclipse. This plugin leverages new APIs in Java7 to hook into filesystem changes without polling. The result, is that you see your file changes in realtime in Eclipse, with no performance hit!