“前往申报"在 Netbeans PHP 中不起作用

2022-01-20 00:00:00 ide php netbeans code-navigation

当我调用 Ctrl+B、转到声明、Ctrl+单击时,IDE 未加载我定义的某些类.

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

我使用的是 Windows 7、NetBeans、PHP 7.0.1

I'm using Windows 7, NetBeans, PHP 7.0.1

我的类定义在 <project-root>/foloder00/folder01/folder02/MyClass.php

我调用 MyClass <project-root>/index.php

你知道问题是什么吗?以及解决方法?

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

推荐答案

我为自己找到了解决方法.与您分享,以防您像我一样需要它.

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.

干杯

相关文章