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.
More strictly, for files from included paths hyperlink navigation (or Ctrl-B) works in current opened file scope only. If, say, learning new big external library (say, this or that framework), the issue limits learning course (and, as a result, PHP IDE support usefulness) significantly. Please, reduce down to P3 if P2 is just my opinion :-)
Just want to add, current Hudson NetBeans-dev-2008-12-31_07-07-46.zip build has the issue also.
This issue seems to be more project specific than editor issue. Files in include path are not part of the project because (FOQ.getOwner|ClassPath.getClassPath return null for such a file) thus root of include path isn't among indexed roots that should be looked up when e.g.class name is asked to be found in index and if not found in index then no idx based features can work.
Radek is currently looking into it. Thanks.
http://hg.netbeans.org/main/rev/c5f113fb8c57 Should have been fixed
Integrated into 'main-golden', will be available in build *200901160201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/c5f113fb8c57 User: Radek Matous <rmatous@netbeans.org> Log: #156211 hyperlink navigation doesn't work in files from included paths
Have tried the fix with trivial three classes test case: a class in project (a navigation to included class does work), and two classes in included path. The navigation doesn't work between included classes.
Well, Hudson 9725 build was used to try to verify the fix.
It worked for me, else I wouldn't close it as fixed. For example I played with php unit on linux, those php unit classes were under /user/share/php, which I added into include path and I was able to navigate from sources into php unit classes and also investigate php unit by jumping more and more deep into it. So, if you are sure, that it doesn't work for you, then please reopen and describe a little your configuration. Tomas, please could you briefly try to reproduce, thanks
I'll attach tiny project. Try to navigate from Class3 to Class1.
Created attachment 75932 [details] tiny test case
thanks, great, really still buggy
So, hopefully fixed now. Attached use case works for me now. Please, verify, thanks http://hg.netbeans.org/main/rev/bfa8f8e40960
Great! - have verified. Thanks!
Integrated into 'main-golden', will be available in build *200901200201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/bfa8f8e40960 User: Radek Matous <rmatous@netbeans.org> Log: #156211 hyperlink navigation doesn't work in files from included paths