eclipse-cs icon indicating copy to clipboard operation
eclipse-cs copied to clipboard

Prefer `checkstyle.xml` from project folder

Open BuZZ-dEE opened this issue 4 years ago • 3 comments

If the project (root) folder contains a checkstyle.xml file, automatically prefer that configuration over the global check configurations. "Automatically" so that the user does not need to setup anything despite the installation of the Eclipse Checkstyle plugin.

If the Eclipse Checkstyle plugin is installed in Eclipse and the project root folder contains a checkstyle.xml file, then the Eclipse Checkstyle plugin should automatically load the checkstyle rules from the file to check the code in Eclipse for the project that has the file.

BuZZ-dEE avatar Jul 19 '21 13:07 BuZZ-dEE

I do not understand what you try to explain to us. Please be more specific.

romani avatar Jul 22 '21 06:07 romani

@romani I updated the issue. Do you have any further questions?

BuZZ-dEE avatar Jul 22 '21 20:07 BuZZ-dEE

Thanks a lot, can you show bunch of projects that follow this pattern, to let us recognize this trend and support it.

I do not remember this trend.

I even always try to hide tools configs to inner folder to keep root for more critical part

Example: https://github.com/checkstyle/checkstyle/ see folder config with a lot configs for different tools/plugins.

romani avatar Jul 23 '21 05:07 romani