quot;Go to declarationquot; does not work in 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
我的类定义在
我调用 MyClass
你知道问题出在哪里吗?以及解决方法?
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 中不起作用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:“前往声明"在 Netbeans PHP 中不起作用
基础教程推荐
- PHP 守护进程/worker 环境 2022-01-01
- 找不到类“AppHttpControllersDB",我也无法使用新模型 2022-01-01
- 在 CakePHP 2.0 中使用 Html Helper 时未定义的变量 2021-01-01
- 使用 PDO 转义列名 2021-01-01
- phpmyadmin 错误“#1062 - 密钥 1 的重复条目‘1’" 2022-01-01
- 在 yii2 中迁移时出现异常“找不到驱动程序" 2022-01-01
- 如何在 Symfony 和 Doctrine 中实现多对多和一对多? 2022-01-01
- HTTP 与 FTP 上传 2021-01-01
- 如何在 XAMPP 上启用 mysqli? 2021-01-01
- Doctrine 2 - 在多对多关系中记录更改 2022-01-01