WordPress APIs ide-php


I wonder how I could make the ide-php package indexing and autocomplete also the WordPress APIs in my custom theme project. I have all the sources but no suggestion is given. ide-php seems to suggest only the PHP default library APIs and those explicitly included via require/include statements. Though WordPress does not require explict require/include for its APIs, since the theme source are in fact appended to main library sources that already include what is necessary.