Skip to content

Commit

Permalink
Update description of intelliJ checkstyle configuration (#6766)
Browse files Browse the repository at this point in the history
  • Loading branch information
marcelluethi authored Aug 19, 2020
1 parent 9adfd5b commit a02a2aa
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 9 deletions.
Binary file modified docs/.gitbook/assets/intellij-checkstyle-settings.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/.gitbook/assets/intellij-gradle-config-ignore-buildSrc.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ To use IntelliJ IDEA's internal build system when you build JabRef through **Bui

"Test using" is set to "IntelliJ IDEA".

* Ignore the Gradle project "buildSrc":
* Ignore the Gradle project "buildSrc" by clicking the button **Select Project Data To Import** in the Gradle Tool Window and unchecking the folder "buildSrc.

![Ignore the Gradle project "buildSrc"](../.gitbook/assets/intellij-gradle-config-ignore-buildSrc.png)

Expand All @@ -175,17 +175,16 @@ Contributions to JabRef's source code need to have a code formatting that is con
* Go to **File \| Settings \| Editor \| Code Style**
* Click on the settings wheel \(next to the scheme chooser\), then click "Import Scheme"
* Select the IntelliJ configuration file `config/IntelliJ Code Style.xml`
* Go to **File \| Settings \| Checkstyle \| Configuration File**
* Go to **File \| Settings \| Tools \| Checkstyle \| Configuration File**
1. Import the CheckStyle configuration file by clicking the \[+\] button
2. For the description provide "JabRef"
3. Click "Browse" and choose `config/checkstyle/checkstyle.xml`
4. Check "Store relative to project location"
5. Click "Next" and "Finish"
6. Activate the CheckStyle configuration file by ticking it in the list
7. Ensure that the latest CheckStyle version is selected \(8.32 or higher\)
8. Set the "Scan Scope" to "Only Java sources \(including tests\)
9. Save settings by clicking "OK"
10. Your configuration should now look like this:
4. Click "Next" and "Finish"
5. Activate the CheckStyle configuration file by ticking it in the list
6. Ensure that the latest CheckStyle version is selected \(8.32 or higher\)
7. Set the "Scan Scope" to "Only Java sources \(including tests\)
8. Save settings by clicking "OK"
9. Your configuration should now look like this:

![checkstyle settings](../.gitbook/assets/intellij-checkstyle-settings.png)

Expand Down
Binary file removed docs/images/intellij-checkstyle-settings.png
Binary file not shown.
Binary file removed docs/intellij-gradle-config-ignore-buildSrc.png
Binary file not shown.
Binary file removed docs/intellij-gradle-config.png
Binary file not shown.

0 comments on commit a02a2aa

Please sign in to comment.