Skip to content

Commit

Permalink
Add command for manually generating Checkstyle config (#66421)
Browse files Browse the repository at this point in the history
  • Loading branch information
danhermann authored Dec 16, 2020
1 parent cb486a1 commit 03e4316
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,9 @@ You can import the Elasticsearch project into IntelliJ IDEA via:
If you have the [Checkstyle] plugin installed, you can configure IntelliJ to
check the Elasticsearch code. However, the Checkstyle configuration file does
not work by default with the IntelliJ plugin, so instead an IDE-specific config
file is generated automatically after IntelliJ finishes syncing.
file is generated automatically after IntelliJ finishes syncing. You can
manually generate the file with `./gradlew configureIdeCheckstyle` in case
it is removed due to a `./gradlew clean` or other action.

1. Open **Preferences > Tools > Checkstyle**
2. Change the "Scan Scope" to "Only Java sources (including tests)"
Expand Down

0 comments on commit 03e4316

Please sign in to comment.