Intellij with Lombok: Exclude certain Files or packages from Lombok inspections?

Answered

Hello

I am not quite sure what would be the best way (if even possible) to exclude certain files or even preferably packages (e.g. with generated code) from certain Inspections.

In my actual case right now I would like to know how I can exlude all the files within a package with generated code from suggestions like using Lombok @Getter and so on. In no way I would like to mess around within generated files to suppress any warnings or so.

Thx

Rob

0
1 comment

Hi Rob,

Inspections can be applied to specific scopes of files. See:

As to partial Lombok exclusions, there is no such feature at the moment I'm afraid. You can submit a new feature request for it on our issue tracker. Thanks!

0

Please sign in to leave a comment.