Details
-
Type:
New Feature
-
Status:
Closed
-
Priority:
Major
-
Resolution: Won't Fix
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: None
-
Labels:None
-
Number of attachments :
Description
Now it's possible to skip auto-generated files by giving a mask or a directory with them. But in our case, there's plenty of files witch are auto-generated, but named in an ordinary way.
Still all of them have a specific comment inside the file. So it would be perfect if we're able to skip files by giving a string to look for, like:
//auto-generated
Issue Links
- relates to
-
SONARJAVA-71
Support for @Generated annotation
-
Hi Max, you should be able to create a Sonar plugin to do that by extending the ViolationFilter extension point. As this requirement is pretty specific I'm going to close this ticket but you can request some help to develop the plugin on the Sonar development mailing list.