Skip to content

Commit

Permalink
Update checkstyle doc for IntelliJ 2019
Browse files Browse the repository at this point in the history
  • Loading branch information
koppor authored Mar 28, 2020
1 parent 64e35c1 commit 30a2d09
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions docs/guidelines-for-setting-up-a-local-workspace.md
Original file line number Diff line number Diff line change
Expand Up @@ -214,13 +214,14 @@ 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 \| Other Settings \| Checkstyle \| Configuration File**
* Go to **File \| Settings \| Checkstyle \| Configuration File**
1. Import the CheckStyle configuration file by clicking the \[+\] button
2. For the description provide e.g. "CheckStyle"
2. For the description provide e.g. "JabRef"
3. Click "Browse" and choose `config/checkstyle/checkstyle.xml`
4. Click "Next" and "Finish"
5. Activate the CheckStyle configuration file by ticking it in the list
6. Save settings by clicking "OK"
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. Save settings by clicking "OK"

#### Troubleshooting when using both IDEA and Eclipse

Expand Down

0 comments on commit 30a2d09

Please sign in to comment.