sponsor Vim development Vim logo Vim Book Ad

java_checkstyle.vim : Integrates Checkstyle with Vim

 script karma  Rating 61/33, Downloaded by 4280  Comments, bugs, improvements  Vim wiki

created by
Xandy Johnson
script type
The java_checkstyle.vim filetype plugin script integrates Checkstyle
http://checkstyle.sourceforge.net/ with Vim.  "Checkstyle is a
development tool to help programmers write Java code that adheres to a
coding standard" (from the Checkstyle home page).  This plugin allows a
user to run Checkstyle on the current Java file, putting the results in an
errorfile and jumping to the first Checkstyle error.
install details
The java_checkstyle.vim script should be copied to the right directory.
On UNIX, this is ~/.vim/ftplugin; see ':help ftplugins' and ':help
add-global-plugin' for more information.  You will likely need to specify
the location of the checkstyle-all jar file and your desired Checkstyle
configuration file, which can be done either by editing the script itself
or by adding the settings to your vimrc file (see the section in the
script called "Configuration").  If you have not already done so, you will
also need to turn on filetype plugin usage in Vim using the following
command (you will probably want to put this in your vimrc file):

    :filetype plugin on

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
java_checkstyle.tar.gz 0.5 2003-07-14 6.0 Xandy Johnson Incorporated a fix from David McReynolds to correct handling of spaces in the Checkstyle command-line arguments.
java_checkstyle.tar.gz 0.4 2003-07-10 6.0 Xandy Johnson Updated to Checkstyle 3.1 based on the contribution of Minto Tsai.
java_checkstyle.tar.gz 0.3 2002-10-24 6.0 Xandy Johnson Adding support for specifying the Checkstyle properties file (patch from Thomas Regner).
java_checkstyle.tar.gz 0.2 2002-10-21 6.0 Xandy Johnson Dramatic simplification and elimination of dependencies.   The changes in
this version are based on the work of Doug Kearns (see the README for more
java_checkstyle.tar.gz 0.1 2002-10-15 6.0 Xandy Johnson 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.