This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Not sure about priority, maybe P3... ----- %< ----- include_once("ProjectLib.php"); [...] ProjectLib::PriceFormat($this->outobjects['cart']->GetTotalPrice()); ----- %< ----- If I CTRL+click on "PriceFormat" or even on "ProjectLib", for a few seconds AWT is blocked and then nothing happens. (In PDT it works without any problem.)
There are some problems. The navigation to the super class basically doesn't work as well. The same for interfaces. Also I have found many performance problems. I will try to fix as much as I can.
*** Issue 140187 has been marked as a duplicate of this issue. ***
I have fixed the extend case. class A extends B|B { .... The fix is in the trunk: 97346:b16273f702cd There has to be fixed other cases as well.
Integrated into 'main-golden', available in build *200808220201* on http://bits.netbeans.org/dev/nightly/ Changeset: http://hg.netbeans.org/main/rev/b16273f702cd User: Petr Pisl <ppisl@netbeans.org> Log: #143426 : the issue is not fully fixed yet. There has to be fixes in other situation as well.
*** Issue 141010 has been marked as a duplicate of this issue. ***
http://hg.netbeans.org/main/rev/a37dbdaa2cd4
Still many use cases when doesn't work well, but I would say much better now.
If I have code ClassName::myMethod($param); jump to myMethod works, but jump to ClassName not, better then nothing in comment #1, but still doesn't work as expected
Integrated into 'main-golden', will be available in build *200809040201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/a37dbdaa2cd4 User: Radek Matous <rmatous@netbeans.org> Log: #143426 Navigate to source does not work often
Hi koubel2, for this static method invocation ClassName::myMethod($param) both cases should work now: 1/ goto myMethod 2/ goto ClassName Its covered by many tests, just for this case I would say it works fine. Naturally there may be a special case when it doesn't work. Be aware it was fixed yesterday evening (Sep 03). So, are you sure you have a fresh build? If not, you can download one from http://deadlock.netbeans.org/hudson/job/PHP-build/. If the problem still exists, even with current builds, then please let me know, I would like o evaluate and fix it, thanks in advance.
koubel2, marek, please could you confirm that goto class name (MyCls::mystaticmeth()) works, thanks?
It seems good, I tested both mentioned jumps for MyClass::staticMethod, good work I have another jump to declaration problem, little bit more complicated (maybe it is in category 'special case when it doesn't work' because to determine real return values/types in dynamic weak type language like php isn't possible) $app = HomeWebApp::getInstance(); //static factory/singleton $logOutput = $app->getLog(); jump to declaration of getLog() method doesn't work with dynamic creation like $app = new HomeWebApp(); jump to getLog() works
koubel2, do you have correct PHPDoc (@return ClassName) for HomeWebApp::getInstance() method? BTW. Radku, please notice that the return type can be "int or string", look at http://manual.phpdoc.org/HTMLSmartyConverter/HandS/phpDocumentor/tutorial_tags.return.pkg.html. But I don't think we have to support this feature in NB 6.5 FCS, it should not be so common case.
thanks kouba2, your observation is exactly how it should now work. Goto declaration doesn't use phpdoc info for type recognition yet, which code completion does. Still room for improvements, thanks for feedback.
references in formal parameters: http://hg.netbeans.org/main/rev/8417cc1406f8
types in implements, extends: http://hg.netbeans.org/main/rev/f4ba970242c8
types in formal paremeters: http://hg.netbeans.org/main/rev/f7b6b9b50dd0
types, vars in catch, instanceof http://hg.netbeans.org/main/rev/6a93b63a09d1
*** Issue 147185 has been marked as a duplicate of this issue. ***
arrays && their indexes: http://hg.netbeans.org/main/rev/6c881a5cba3b
Should be improved in 7.0 - depends on #150050
*** Issue 146548 has been marked as a duplicate of this issue. ***
Suggested to open goto symbol whenever impl. doesn't know where to jump.
Upgrading to P2 since it has a P2 duplicate.
rewritten from scratch for NB7.0 milestone 1. More reliable now, generally should work. If any problem, please file new specific issues.