“前往声明"在 Netbeans PHP 中不起作用

2021-12-26 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

我的类定义在/folder00/folder01/folder02/MyClass.php

我调用 MyClass /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.

干杯

相关文章