Netbeans 7-无法导航到已注册多个项目的声明 [英] Netbeans 7 - Won't navigate to declaration with multiple projects registered

查看:80
本文介绍了Netbeans 7-无法导航到已注册多个项目的声明的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我一直在与这个恶魔作战一段时间(至少从6.8开始),我想知道这里是否有任何善良的灵魂找到了类似的问题并解决了这个问题.我在Netbeans IDE中注册了大约12个PHP项目.尽管启动可能需要一些时间,但效果很好.但是,我最大的问题是,如果我在代码中引用了函数,方法,类等,并且选择了(例如)一个函数,那么我希望它打开包含该声明的PHP代码模块,并且它曾经做这个.

I've been battling this demon for a while (at least since about 6.8) and I'm wondering if any kind soul here has found similar issue and resolved it. I have about 12 PHP projects registered in my Netbeans IDE. Works great, although it can take a while to open up from startup. However my biggest issue is that if I have functions, methods, classes, etc. referenced in my code and I select (for example) a function, I want it to open up the PHP code module that contains that declaration, and it used to do this.

但是,一旦我在IDE中添加了第二个项目,它就不再想要播放了.只是坐在那里,什么都没有要求.因此,我每次必须手动导航到代码.它变得很累,我敢肯定我不是唯一一个找到这个的人.

But as soon as I added a 2nd project to my IDE, it no longer wants to play. Just sits there like nothing was requested. So I have to manually navigate to the code each time. Its getting tiresome, and I'm sure I can't be the only one to have found this.

有人找到它并找到解决方案了吗?如果它仅在没有主项目"的情况下进行导航,那我会很高兴,但是即使我以这种方式设置项目,它也拒绝去寻找声明.

Has anyone found this and found a resolution to it? I'd be happy if it only navigates without the 'Main Project' if that would work, but even if I set the project that way it refuses to go looking for the declaration.

非常感谢所有帮助.

P.S.我在台式机上运行Ubuntu 9.10.不知道这是否与此有关.以及Netbeans中的PHP个性.

P.S. I'm running Ubuntu 9.10 on my desktop rig. Not sure if that has anything to do with this though. And its the PHP personality in Netbeans.

推荐答案

问题在于NetBeans中存在一些反射API错误.解决方案很简单:导出项目并卸载NetBeans,然后下载最新的IDE并导入项目.这应该工作.如果不是,请更新Java并检查.如果仍然无法正常运行,请关闭所有项目并重新启动IDE,然后逐个加载所有项目,然后查看其在哪些地方起作用以及在哪些地方不起作用.如果您发现特定项目有问题,请在netbeans.org上提交错误,或使用IDE本身的内置系统在选项"中提交错误.

The problem is with some reflection API bug in NetBeans. The solution is simple: export your projects and uninstall NetBeans, then download the latest IDE and import your project. This should work. If doesn’t, then update Java and check. If it still doesn’t work then close all projects and restart the IDE, then load all projects one by one and see in which it works and in which it doesn&rquo;t. If you find problems with a specific project, submit your bug at netbeans.org or use the inbuilt system in the IDE itself for submitting bugs in Options.

这篇关于Netbeans 7-无法导航到已注册多个项目的声明的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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