Is it possible to exclude certain files from the TODO function in PhpStorm? For example, I\'m using the highcharts javascript library. I don\'t want to see the few dozen or
Yes, you can -- via custom scope that would include all but unwanted files/folders (Settings | Scopes) and then just choose it in TODO window.
Check these articles for details:
P.S.
This functionality is available since v6 only.
To exclude code (usually composer dependencies) from analysis.
Screenshot example below:
For libraries, there is a one click solution as I have just found out.
You can use the "External Libraries" feature to include the specific library folder, after which PHPStorm / IDEA will mark the folder as a library home and exclude it from inspection.
Note that you can include folders inside your project directroy, even though it's called "External" Libraries.
File > Settings > Scope
add a new scope and make sure the files you like are green.View > Tool Windows > TODO
(Alt + 6)Scope Based
Custom Local Scopes