Right click on that file and select mark as -> excluded?
In PHPStorm is there a way to avoid indexing *.phar files?
Question
I know how to exclude meta and log files from index inclusion but in my application's composer.json
I have both Guzzle and Goutte listed as dependencies. Goutte includes a goutte.phar which in turn contains the source code for Guzzle. So when I go to use autocompletion I get this:
Is there anyway to exclude a *.phar file (or any specific PHP file for that matter) from the PHPStorm indices?
Solution
OTHER TIPS
From the docs :
In the Project tool window, select the required .phar archive and choose Exclude phar from project on the context menu of the selection.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow