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

quot;Go to declarationquot; does not work in Netbeans PHP(“前往声明在 Netbeans PHP 中不起作用)
本文介绍了“前往声明"在 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

我的类定义在/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.

干杯

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

本站部分内容来源互联网,如果有图片或者内容侵犯了您的权益,请联系我们,我们会在确认后第一时间进行删除!

相关文档推荐

Why can#39;t I update data in an array with foreach loop?(为什么我不能用 foreach 循环更新数组中的数据?)
Foreach for arrays inside of an array(Foreach 用于数组内的数组)
PHP array get next key/value in foreach()(PHP 数组在 foreach() 中获取下一个键/值)
Using preg_match on a multidimensional array to return key values arrays(在多维数组上使用 preg_match 返回键值数组)
php foreach as key, every two number as a group(php foreach 为key,每两个数字为一组)
Treat a PHP class that implements Iterator as an array(将实现 Iterator 的 PHP 类视为数组)