It would be very useful to be able to bind key combinations in Eclipse for the following 2 actions [when editing Java source files]:
- Check code with Checkstyle
- Clear checkstyle violations
The 2 actions should appear in the key binding list from:
Window -> Preferences -> General -> Keys
Il would be nice if a key combination would be available by default for each of the aforementioned actions.
thanks!
A bit off topic, but what's wrong with using eclipse-cs automatic builder?
This way Checkstyle automatically runs when a file is changed.
That's the vastly preferred way to use the plugin, compared to manual invocation via the "Check code with Checkstyle" action.
Please read here for starters:
http://eclipse-cs.sourceforge.net/basic_setup_project.html