How to exclude files/folders from code inspection in PHPStorm?

前端 未结 5 1233
轮回少年
轮回少年 2020-12-07 22:17

I have a project in PHPStorm, which contains a few libraries (Zend, Doctrine, ...) grouped under a library folder.

When running the code inspection, I <

5条回答
  •  独厮守ぢ
    2020-12-07 22:45

    Please refer to the Scopes feature. You can define a custom scope for just your code, without the library folder, then run inspections on this scope only.

    In the Inspections settings it's also possible to add the scopes and enable/disable each inspection per scope.

提交回复
热议问题