Skip to content
| Marketplace
Sign in
Visual Studio Code>Linters>CheckstyleNew to Visual Studio Code? Get it now.
Checkstyle

Checkstyle

rianadon

|
24,192 installs
| (2) | Free
VSCode linter using checkstyle
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

VS Code checkstyle linter

A linter for Java code that uses checkstyle, based on the package for Atom.

Settings

  • checkstyle.enable: set whether checkstyle linting is enabled for the workspace or global environment. By default linting is enabled.

  • checkstyle.checkstylePath: The path to either the checkstyle executable or the checkstyle command.

    If you installed checkstyle via Homebrew, then this is the path to the checkstyle executable. Otherwise, this is the path to the jar downloaded from the checkstyle downloads page.

  • checkstyle.configurationPath: The path to the checkstyle configuration file. Setting this to null is the equivalent of not passing the -c option to checkstyle.

Acknowledgements

Thank you to the projects that served both as inspiration and as a basis for this extension:

  • checkstyle, the sole reason why this extension exists
  • linter-checkstyle, for sorting out how to parse checkstyle's output
  • vscode-eslint, for showing how a good VSCode linter is designed
  • vscode-languageserver-node-example, without which I would have been completely lost
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft