Eclipse Compare. Ignoring java formatting changes not only whitespace. - Ruben Laguna's blog
Eclipse Compare. Ignoring Java Formatting Changes Not Only Whitespace. I met some difficulties dealing with the default eclipse java compare. I got involved on a project where everybody likes to commit code to CVS formatted their way, so comparing between CVS revisions is almost impossible. So I decided to start investigating about Eclipse plugin development to make a Java Compare Viewer that not only ignores whitespace but also all java formatting changes. The result is the following *Before *ignore java formatting plugin: After ignore java formatting plugin: The plugin honors the text font preferences set in General → Appearance → Colors and fonts → Text Compare → Java compare text font. Also honors the Java Formatter preferences in Java → Code Style → Formatter You can download the plugin and source code tested in Eclipse 3.3 Europa release from here . (The source code is in src folder inside the .jar) Or you can use Update Manager: UPDATE:Read full article from Eclipse Compare. Ignoring java formatting changes not only whitespace. - Ruben Laguna's blog
No comments:
Post a Comment