I have build a custom PHP extension in C and included it in php.ini. Now i would like to have a IDE which supports code completion of my custom extesnsion. i used netbeans ide but testing phpstorm at the moment. both do not show me code completion for the custom php extension 🙁
do i need to insert special things in my extension?
Netbeans uses fake php files called ‘stubs’ that can be included in your project (just let them sit somewhere in a place that netbeans scans.
Example for built in php functions: (See NetbeansFolder/php/phpstubs, or ctrl-click in netbeans on a native php function).