Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide Eclipse CS preferences to run checkstyle directly in eclipse #426

Open
Bananeweizen opened this issue Nov 11, 2019 · 2 comments
Open
Assignees

Comments

@Bananeweizen
Copy link
Contributor

The build of this project fails on checkstyle errors. The Eclipse plugins however don't have any Eclipse CS configuration. Therefore during editing new checkstyle failures are not reported and will only be found later during the PR build.
I can create the necessary preferences in the Eclipse projects, if you want me to.

@Fabrice-TIERCELIN
Copy link
Collaborator

If you do it, I will merge it.

@Fabrice-TIERCELIN
Copy link
Collaborator

Fabrice-TIERCELIN commented Nov 11, 2019

You can also use Save actions to save time, for example, for trailing spaces:

  • Window -> Preferences -> Java -> Editor -> Save actions -> Perform the selected actions on save -> Additional actions -> Remove trailing white space on all lines
  • Window -> Preferences -> Java -> Code style -> Formatter -> Edit -> Indentation -> Tab policy -> Spaces only

What are the other CS rules that bores you?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants