Exclude Folders From Net Beans 8 PHP Code Analysis

I have been using Net Beans 8 to develop PHP at work over the past year or so, and I have found (from upgrading to 8.0 and creating new projects) that the code analyzer detects errors in some of the free libraries, which, in turn, forces mark the project as having errors (red exclamation mark in the project explorer).

Since we donโ€™t use these libraries, I added them to the settings under Project properties โ†’ Ignored folders โ†’ Additional folders for analyzing the code of my current project (I donโ€™t want to exclude them) from the project, because we use the autofill function / intellisense for the IDE), but this is not had a visible effect: the files are still marked as having an error, as well as the project.

Am I using the code analyzer exception function incorrectly? Is there a way to exclude selected folders from error checking, but still have them visible inside the project?

Thanks!

+8
php code-analysis netbeans-8
source share
1 answer

It seems to work when you add a folder to both fields. Folders will not be displayed in the project folder list, and errors will not be displayed. But autocomplete still shows all (in my case "WordPress") library functions stored in these folders.

Project Folder Settings

0
source share

All Articles