
My solution allows to set one of these files as "text only" in PHPStorm and that way deactivate selectively the autocompletion through these files specific by each project. However, there was reasons why I finally went with the idea of creating separate files. When I first wrote it, I thought about creating one file with all classes. I really enjoy, that my idea has been helpful to you and so many others and thank you that you referenced my work! Edited Januby innovacy (see edit history) Please let me know if there is something to improve it. It's not covering 100% yet, but is nearly complete and should have everything that is daily required.
PHPSTORM IDE CODE
You can download it here and integrate it into your PHPStorm project the way it is described and you will have immediately code completion for almost any instantiated class, $this variables and more.

To ease my development with Prestashop and PHPStorm and make code completion work a great way nearly everywhere, since I couldn't find the slightest solution anywhere, I went into creating an "extension" that helps achieve that. Additionally, Prestashop's PHPDoc is incomplete and where it exists, the wrong return classes are sometimes specified etc. Only when a class is overriden, it is named "Cart" and inherited from "CartCore" and as that, an IDE can create this association only by that time. The code for the class "Cart" that is instantiated as object is residing in the core file classes/Cart.php, the core class however is not named "Cart" but "CartCore". Unfortunately, I had always issues with code completion in Prestashop, which is based on how Prestashop uses the override class model.

I have been working some time now with Prestashop and before some months switched to develop with PHPStorm, the best and most complete PHP IDE out there.
