Netbeans Clear Cache to Correct Broken Code Completion

This is post is now quite old and the the information it contains may be out of date or innacurate.

If you find any errors or have any suggestions to update the information please let us know or create a pull request on GitHub

If your Netbeans project is behaving a bit weirdly with regards to code auto completion then this little fix might be for you.

Netbeans maintains a cache folder and it looks like this can get corrupted sometimes and need clearing out.

Close Netbeans down, empty your $HOME/.netbeans/6.9/var/cache/ folder and then restart Netbeans and hopefully that should fix it

Tags: netbeansautocachefixcodecompletion