Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
student:eclipse:checkstyle [2019/01/03 10:13] – bernstdh | student:eclipse:checkstyle [2024/08/01 11:48] (current) – bernstdh | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | |||
- | |||
===== The Checkstyle Plugin for Eclipse ===== | ===== The Checkstyle Plugin for Eclipse ===== | ||
Line 7: | Line 5: | ||
==== Installation ==== | ==== Installation ==== | ||
- | The easiest way to install the Eclipse Checkstyle Plugin | + | There are three different ways to install the Eclipse Checkstyle Plugin. |
- | + | ||
- | - Start a WWW browser and navigate to [[ http:// | + | |
- | - Start Eclipse. | + | |
- | - Drag the " | + | |
- | - When the dialog box appears, check " | + | |
- | - Check "I accept..." | + | |
- | - If you get a message about " | + | |
- | - Restart Eclipse. | + | |
- | + | ||
- | Several alternative methods | + | |
If none of the normal methods work, you may want to consider installing the plugin manually. | If none of the normal methods work, you may want to consider installing the plugin manually. | ||
Line 44: | Line 32: | ||
- Click on < | - Click on < | ||
- | ==== Loading a Checks File ==== | + | ==== Loading a Checks File (Configuration File) ==== |
+ | You can set the checks file for all of the projects in a workspace or for each project individually. | ||
+ | If you have a different workspace for each course then you should probably use the first approach, | ||
+ | which is described in the [[ student: | ||
- | If your course uses a custom checks file: | + | |
- | + | - In Eclipse, right-click on the project, and pull down to < | |
- | + | - Select " | |
- | | + | |
- | - In Eclipse, right-click on the project, and pull down to | + | |
- | - Select " | + | |
- Click on < | - Click on < | ||
- | - Select " | + | - Select " |
- Select the " | - Select the " | ||
- Select the appropriate configuration file from the drop-down list. | - Select the appropriate configuration file from the drop-down list. | ||
- Click on < | - Click on < | ||
- When the " | - When the " | ||
+ | |||
+ |