vscode-checkstyle icon indicating copy to clipboard operation
vscode-checkstyle copied to clipboard

Feature Request: allow configuring to skip checkstyle analysis some directories/files/projects without changing the configuration file

Open mtomim opened this issue 4 years ago • 1 comments

The plugin works great, but I really want to be able to configure projects/files/directories in which checkstyle doesn't apply and avoid coloring everything in red, without modifying the configuration file itself, nor having to change everything in the massive old unclean project. If it's possible via the parameter "java.checkstyle.properties" for example, I want to see some examples in README.

For example:

{
  "java.checkstyle.ignore": [ /* file pattern array */ ]
}

The word "ignore" may well be "skip".

Thanks in advance for the consideration!

image

mtomim avatar Apr 28 '21 14:04 mtomim

This would be a much appreciated feature.

I have a bunch of generated classes which doesn't quiet match my projects overall checkstyle. It would be sweet to just ignore that folder containing all those generated classes, and get rid of the false-positive errors.

Keetz avatar Jun 28 '21 13:06 Keetz