Eclipse Checkstyle Plug-in

Introduction
Checkstyle
is a development tool written by Oliver Burn to help you ensure that your Java code adheres to a set of coding standards. Checkstyle does this by inspecting your Java source code and pointing out items that deviate from a defined set of coding rules. The full Checkstyle distribution is included with the Checkstyle plug-in. In addition to using the Eclipse Checkstyle plug-in you can also use Checkstyle from the command line or as part of an Ant build. For more information about using Checkstyle outside of Eclipse see the Checkstyle documentation.

With the Checkstyle Eclipse plug-in your code is constantly inspected for problems. Within the Eclipse workbench you are notified of problems via the task window and source code markers just as you would see with compiler errors or warnings. Note: the current release of the Eclipse plug-in runs the tree-walker checks from Checkstyle. These checks only check individual Java source files. A future release of the plug-in may include Checkstyle checks that span across multiple files.

Important Note: If you had a pre 3.1.0 version of the Eclipse Checkstyle plug-in installed you will need to remove it before installing the new plug-in. Also, remove any .checkstyle files from the root of your projects, these files are not compatible with this version of the plug-in. After removing these files be sure and refresh your workspace so that Eclipse is aware that they have been removed.


Copyright © 2002-2004 David Schneider. All Rights Reserved.