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

前端 未结 5 1261
轮回少年
轮回少年 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:28

    If you just need to disable inspections on one or two files, you can disable it at the file level easily:

    1. Open offending file
    2. Click 'Code' -> 'Configure Current File Analysis'
    3. Set slider for offending language to 'None'

    (Using PHPStorm 8.0.2)

提交回复
热议问题