Netbeans autocomplete stopped working?

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:

  1. Close project
  2. Open project directory in windows explorer
  3. Delete nbprojectfolder
  4. Go to netbeans, open file menu and select "New Project"
  5. Create project with existing source

:)


Since NetBeans 7.2 the cachedir has been moved to the following locations:

C:\Users\<username>\AppData\Local\NetBeans\Cache\7.2\ on Windows /Users/<username>/Library/Caches/NetBeans/7.2/ on Mac OS X /home/<username>/.cache/netbeans/7.2 on Unix-like systems

Source: http://wiki.netbeans.org/FaqWhatIsUserdir