vscode-intelephense icon indicating copy to clipboard operation
vscode-intelephense copied to clipboard

Exclude options for intelephense.environment.includePaths

Open kallookoo opened this issue 4 years ago • 1 comments

Feature description or problem with existing feature Some options like max size or exclude prevent indexing the custom locations defined with the include paths option. Example when using the composer for downloading the wp-cli-stubs or woocommerce-stubs, this stubs files if located inside the vendor folders or the wordpress-stubs has 4MB for the file by the max size if 1MB. In none of the cases I have mentioned will they be indexed.

Describe the solution you'd like Exclude the options when the file path is defined in include paths option to allow the indexing.

Additional context Add any other context or screenshots about the feature request here.

kallookoo avatar Jan 17 '21 13:01 kallookoo

Just have to say that after weeks of trying to figure out why intelephense.environment.includePaths didn't seem to load woocommerce-stubs.php, this issue finally helped me. Thanks @kallookoo.

+1 to this suggestion, or at least some documentation outlining some troubleshooting for includePaths not working.

joshangehr avatar Aug 26 '22 19:08 joshangehr