“Go to declaration” does not work in Netbeans PHP

后端 未结 18 2435
眼角桃花
眼角桃花 2020-12-13 18:37

Some of my defined classes are not loaded by the IDE when I call Ctrl+B, Go to declaration, Ctrl+click.

I\'m using Windows 7, NetBea

18条回答
  •  夕颜
    夕颜 (楼主)
    2020-12-13 19:24

    If You working with Drupal in NetBeans and have the same ctrl+click (Go to declaration) issue:

    1. Add/associate *.module, *.inc extensions as text/x-php5 files (NetBeans > Options > Miscellaneous > Files).
    2. Close NetBeans.
    3. Clear NetBeans cache (as described above).
    4. Open the project and wait for the scanning project task to finish.

提交回复
热议问题