Skip to content

An Eclipse plugin that uses new features in Java 7 to automatically refresh files in your workspace

License

Notifications You must be signed in to change notification settings

psxpaul/EclipseJava7Refresher

Repository files navigation

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

  • Exctract the zip into {ECLIPSE_DIRECTORY}/dropins
  • Start Eclipse
  • Go to Window->Preferences->General->Workspace
  • Enable the "Refresh using native hooks or polling" option

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!

About

An Eclipse plugin that uses new features in Java 7 to automatically refresh files in your workspace

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages