m2mdas / phpcomplete-extended

A fast, extensible, context aware autocomplete plugin for PHP composer projects with code inspection features.
MIT License
216 stars 23 forks source link

Need to ignore files/directories during index generation #31

Open LukeMauldin opened 10 years ago

LukeMauldin commented 10 years ago

I am getting errors when creating the index from external packages like PHPExcel. The file jpgraph.php has this line: require_once(PHPExcel_Settings::getChartRendererPath().'/jpgraph.php');

When phpcomplete-extended is running, the 'getChartRendererPath()' is blank and so the require_once fails due to being unable to find jpgraph.php. I need to be able to exclude certain files/directories/packages from index generation so index generation can complete successfully. It is better than the index be incomplete (ie not work on certain files/directories) than not to be able to use it at all.

m2mdas commented 10 years ago

It is a nice feature request. Hoping to implement it on this weekend

ghost commented 10 years ago

Yeah, i have a problem with a vendor too, this would be a very nice way to handle this.

aewing commented 10 years ago

+1

nce commented 10 years ago

ran into the same problem today involving codeception files in my vendor directory.

jdwil commented 9 years ago

+1

willdurney commented 9 years ago

+1

mohammed-elhakim-sociomantic commented 8 years ago

+1

andrea-imparato-sociomantic commented 8 years ago

+1

idchlife commented 7 years ago

So, how to overcome this problem? Plugin always asks me to build index and always has problem with some codeception etc files in vendor.