how to exlude some folders from code inspection?

hello, can i forbid code inspection of some folder in project which belongs to libraries etc? 

0

Hi there,

Can you please provide more details -- what part of the library you want to exclude?

Generally speaking -- since you don't need to edit the 3rd party library (as it's not your code) ... you nee to:

  1. Mark such whole library folder as Excluded (via right click .. or via "Settings/Preferences | Directories"
  2. Re-add it back as Include path entry in "Settings/Preferences | Languages & Frameworks | PHP"

This way code is still indexed and used for code completion/classes/functions resolving etc ... but errors/todos/etc are not shown for them.

0

请先登录再写评论。