Search code examples
phpframeworksnetbeanscode-completion

How to get code completion to work for PHP in Netbeans?


How to get code completion to work for PHP in Netbeans 6.9.1? I want Netbeans to suggest native PHP functions.

alt text

EDIT:

The auto complete only works for reserved vars and reserved keywords but not for native functions. Looking at the example above, it should suggest e.g str_replace, strlen, etc...that doesnt happen even after CTRL + SPC.


Solution

  • Just make sure you have enabled the PHP plugin, that should do the trick. BTW autocomplete might not work while NetBeans is checking for project changes though...