phpnetbeansidecode-navigation

"Go to declaration" does not work in Netbeans PHP


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, NetBeans, PHP 7.0.1

My classes are defined under <project-root>/foloder00/folder01/folder02/MyClass.php

I call MyClass <project-root>/index.php

Do you know what the problem is? And the workaround?


Solution

  • I found a workaround for myself. Share with you in case you might need it like me.

    Project Property - Include Path - Add the location of the containing folder where it doesn't work/isn't loaded.

    Cheers

    enter image description here

    enter image description here