Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
student:eclipse:checkstyle [2019/12/12 11:44] – 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 46: | Line 34: | ||
==== Loading a Checks File (Configuration File) ==== | ==== Loading a Checks File (Configuration File) ==== | ||
- | You can set the checks file for a particular project or for all of the projects in a workspace. If you use one workspace for all of your courses | + | You can set the checks file for all of the projects in a workspace |
+ | If you have a different | ||
+ | which is described in the [[ student: | ||
- | === Setting the Checks File for a Project === | + | |
- | + | - 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 " | ||
- | |||
- | |||
- | === Setting the Checks File for a Workspace === | ||
- | |||
- | - Download the file to an appropriate location on your local file system. | ||
- | - In Eclipse, click on < | ||
- | - Expand < | ||
- | - Click on < | ||
- | - Select " | ||
- | - Select the appropriate configuration file. | ||
- | - Click on < | ||
- | - Click on < | ||
- | - When the " | ||
- | |||