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
[FLINK-6865] Update checkstyle documentation #4086
Conversation
If the long-term plan is to have one checkstyle then we should keep the current plain name. We may be at the point where we can rename the checkstyles and update the in-progress modules to use a I have not seen IntelliJ actually import settings from a checkstyle configuration. Not sure if this is user error or something is broken. |
yes, it's a good idea to "flip" the checkstyle names. I only checked a few things, but importing the checkstyle configuration, with the Checkstyle-IDEA plugin enabled, at the very least correctly configured the import order. |
hmm....i just retried it and it didn't work this time. Let me investigate a bit. |
Something the import did in fact set was spaces around operators. It may be that not all checkstyle rules are properly imported. |
Only a (small) subset of checkstyle modules can be imported, which sadly doesn't include the |
Okay, second best may be to create an IntelliJ Code Style configuration for developers to import. |
I don't know a lot about the intellij code style config; can we only define subset that is imported without affecting the rest? Btw., I'm looking into contributing to the checkstyle plugin to add support for the rules that we need. |
Here's a list of the currently supported modules btw.:
|
Apart from the ImportOrder and AvoidStartImport modules everything that we could configure via IntelliJ Code Style seems to be covered. |
@greghogan With the latest plugin version (5.6.1) the import layout is adjusted as well. |
I've updated the PR:
We should probably merge this after #4112 . |
This PR updates the checkstyle documentation.
strict-checkstyle.xml