sponsor Vim development Vim logo Vim Book Ad

pmd.vim : Integrates PMD using Vim quickfix mode

 script karma  Rating 0/0, Downloaded by 715    Comments, bugs, improvements  Vim wiki

created by
Henry So, Jr.
script type
PMD (see http://pmd.sourceforge.net) is a utility that scans Java source code to find potential problems, unused variables, unnecessary imports, etc.  This plugin integrates PMD with Vim using Vim's quickfix features (see :help quickfix).

To invoke PMD from Vim, either issue the command :Pmd or enter <Leader>pmd from command mode.  The latter keystroke command may be customized.  See the pmd.vim file for details.

The :Pmd command may take one argument, which the file or directory to run PMD against.  If left out, PMD will run against the filename of the current buffer, which is also the behavior of the <Leader>pmd keystroke command.
install details
Copy the pmd.vim file into the plugin directory or source it as needed.  There are two settings.  The command to run PMD should be set in the Pmd_Cmd variable.  The PMD rulesets to use should be set in the Pmd_Rulesets variable.  See the pmd.vim file for details.

rate this script Life Changing Helpful Unfulfilling 
script versions (upload new version)

Click on the package to download.

package script version date Vim version user release notes
pmd.vim 1.0 2004-10-26 6.0 Henry So, Jr. Initial upload
ip used for rating:

If you have questions or remarks about this site, visit the vimonline development pages. Please use this site responsibly.
Questions about Vim should go to the maillist. Help Bram help Uganda.
SourceForge.net Logo