Checkclipse runs Checkstyle checks whenever a file is saved, so no additional action from the user is neccessary. In some situations it might be useful to trigger such a check manually. The Checkclipse plug-in provides some entries in pop-up menues to do this.
Note: The pop-up menues are only enabled if the current project has Checkclipse enabled.
Java Elements are:
Java projects (to be more specific: Projects that have a Java nature)
Java package.
Project source directories.
Java files.
If you right-click on any of this resources, the pop-up menue will contain an entry for Checkstyle actions.
Actions:
Check file(s) Runs Checkstyle on the selected files or the files in the marked package or source directory. The file filter configuration (see Configuration) is active for this check, so only files included via the file filter are checked.
Check Project Runs checkstyle on the enclosing project.
Remove Markers This removes all Checkstyle markers (info, warning and error markers) from the selected files or the files in the marked package or source directory.
If you right click on a java file opened in an editor you get the following pop-up menue:
Actions:
Check File Runs Checkstyle on the currently active file in the editor.
Check Open Files Runs Checkstyle on all files currently open in an editor.
Remove Markers Removes the Checkstyle markers from the currently active file in the editor.