Checkstyle is a development tool to help programmers write Java code that adheres to a coding standard. By default it supports the Google Java Style Guide and Sun Code Conventions, but is highly configurable. It can be invoked with an ANT task and a command line program.
pbludov on issue-9907-jdk16
Issue #9907: set up Java16 build (compare)
pbludov on issue-9907-jdk16
Issue #8010: CommentsIndentatio… minor: fix formatting Issue #8989: Checkstyle parser … and 33 more (compare)
pbludov on master
minor: cleanup whitelist words Issue #7877: Removed redundant … Issue #5711: JavadocTagContinua… and 36 more (compare)
pbludov on issue-9146-java11
Issue #9146: specify java versi… (compare)
pbludov on maven
pbludov on issue-9146-java11
minor: cleanup whitelist words Issue #7877: Removed redundant … Issue #5711: JavadocTagContinua… and 9 more (compare)
pbludov on issue-9310-java11-inputs
pbludov on issue-9310-java11-inputs
Issue #9310: test inputs should… (compare)
pbludov on issue-9310-java11-inputs
Issue #9310: test inputs should… (compare)
pbludov on issue-9310-java11-inputs
Issue #9152: Record implementin… infra: add checkout_from suppor… dependency: bump archunit-junit… and 3 more (compare)
pbludov on issue-9310-java11-inputs
minor: cleanup whitelist words Issue #7877: Removed redundant … Issue #5711: JavadocTagContinua… and 1 more (compare)
pbludov on issue-9310-java11-inputs
Issue #9310: test inputs should… (compare)
pbludov on issue-9310-java11-inputs
Issue #9310: test inputs should… (compare)
pbludov on issue-9310-java11-inputs
Issue #9310: test inputs should… (compare)
pbludov on issue-9310-java11-inputs
#Issue #9310: test inputs shoul… (compare)
pbludov on master
doc: fix checkstyle jar version… Issue #9297: solve spotbugs vio… (compare)
pbludov on issue-9297-spotbugs-11
pbludov on issue-9146-java11
Issue #9146: update javassist t… Issue #9297: solve spotbugs vio… Issue #9146: switch to jdk 11 i… and 1 more (compare)
pbludov on issue-9146-java11
Issue #9146: switch to jdk 11 i… Issue #9146: update javassist t… Issue #9297: solve spotbugs vio… (compare)
pbludov on issue-9146-java11
Issue #9146: switch to jdk 11 i… (compare)
org.apache.commons.cli.UnrecognizedOptionException: Unrecognized option: -t
at org.apache.commons.cli.Parser.processOption(Parser.java:363)
at org.apache.commons.cli.Parser.parse(Parser.java:199)
at org.apache.commons.cli.Parser.parse(Parser.java:85)
at com.puppycrawl.tools.checkstyle.Main.main(Main.java:77) -c <arg> The check configuration file to use.
-f <arg> Sets the output format. (plain|xml). Defaults to plain
-o <arg> Sets the output file. Defaults to stdout
-p <arg> Loads the properties file
-r <arg> Traverse the directory for source files
usage: java com.puppycrawl.tools.checkstyle.Main [options] -c <config.xml>
The Checkstyle SDK Gui is working fine with the same .jar used. Any idea to fix this issue!@PrabodDunuwila
checkstyle-5.6-all.jar
Why are you using such an extremely old version? We are on 8.29 . The option probably didn't exist back then.
Hi @MrHakimov did you follow all pages referenced from https://github.com/checkstyle/checkstyle/wiki/To-student-of-GSoC-2020 (like this, for instance, https://checkstyle.sourceforge.io/beginning_development.html) ? Did you choose any issue from https://github.com/checkstyle/checkstyle/labels/gsoc%20first%20issue and follow more references given in issue description (like this, for instance, https://checkstyle.org/cmdline.html) ?
I have read some issues, I understood what should I do, but I don't understand how can I do this
Could you clarify please which issues did you read and what exactly didn't you understand? Each issue from the aforementioned list contains links to example commits which were already applied. I suggest to take a look at those commits, you need to do something similar (like this, for instance, checkstyle/checkstyle#6105).
/**
being on the same line or not with */
. You can also run the code through the check by modifying one of the tests and it's inputs and debugging the check itself. All checks have tests and inputs for them in the repository