Netbeans autocomplete stopped working?

后端 未结 7 1216
春和景丽
春和景丽 2021-02-08 06:45

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

相关标签:
7条回答
  • 2021-02-08 07:00

    Finally works after adding the path of the project in Tools > Options > PHP > Global Include Path > Add Folder... and restarting

    0 讨论(0)
  • 2021-02-08 07:01

    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.

    0 讨论(0)
  • 2021-02-08 07:04

    Apparently deleting the contents of .netbeans/var/cache/index in your user directory (application data on windows etc) fixed it.

    0 讨论(0)
  • 2021-02-08 07:09

    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.

    0 讨论(0)
  • 2021-02-08 07:10

    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

    :)

    0 讨论(0)
  • 2021-02-08 07:20

    tools>plugins>installed

    then find the Java SE,
    right click and Activate enter image description here

    this works for me on netbeans 12.2

    0 讨论(0)
提交回复
热议问题