PMD-JEdit Plug-in Users' Guide


PMD is a Java source code analyzer - it finds unused variables, questionable design decisions, empty catch blocks, and so forth. You can read much more about PMD here - http://pmd.sf.net/.

Installation

Integration

There's a new 'PMD' menu item in the Plugins menu. This has several submenu options

"Current directory" means "the directory which is displayed in the file system browser. So, for example, if you wanted to run PMD on your whole source tree, and your top level source directory is named "src", you would 1) double-click on the "src" directory and then 2) select the "PMD->Check directory recursively" menu option.

All those options put any errors into the ErrorList so you can jump around your project fixing stuff.

There's also a new section in the Global Options configuration panel that lets you pick rule sets.

License

The PMD-JEdit plugin is free software released under the Apache license.