Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Netbeans PHP autocomplete

how could I add an autocomplete for PHP build-in functions like htmlentities or var_dump? The autocompleter work for my classes but there's not autocompletion for functions like mentioned above.

like image 562
Poru Avatar asked Jul 05 '26 02:07

Poru


1 Answers

You have to set a "Global Include Path" in Options > PHP > General.

On Mac OS X with MacPorts this should be /opt/local/lib/php, but in the documentation at netbeans.org I didn't find any hints, what to set on other platforms.

like image 86
Thorsten Avatar answered Jul 06 '26 14:07

Thorsten



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!