“前往申报"在 Netbeans PHP 中不起作用 [英] "Go to declaration" does not work in Netbeans PHP

查看:28
本文介绍了“前往申报"在 Netbeans PHP 中不起作用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

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

干杯

这篇关于“前往申报"在 Netbeans PHP 中不起作用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆