I\'m using Netbeans 6.9.1, everything was just fine however suddenly, it has stopped detecting any changes made to the code, e.g new variables, functions, etc. If I try to refac
Finally works after adding the path of the project in Tools > Options > PHP > Global Include Path > Add Folder... and restarting
For those who use Netbeans 11.2, autocompletion could stop working if you set JDK 8 as default for running netbeans (netbeans_jdkhome in netbeans.conf) instead of newer JDK 13.
Apparently deleting the contents of .netbeans/var/cache/index in your user directory (application data on windows etc) fixed it.
Another Solution to the problem is just start a new project and once you've started a new project. also note if you have a syntax error whilst typing it may not work. But try and see if it helps.
Remove nbproject
folder from project directory and then create a new project is works for me:
Steps:
nbproject
folder:)
tools>plugins>installed
then find the Java SE,
right click and Activate enter image description here
this works for me on netbeans 12.2