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.
[ BUILD # : 201209210001 ] [ JDK VERSION : 1.7.7 ] Create a project. Attach a library (but without attached sources) Now open a class from this library via "go to type" dialog. The IDE shows a generated source file. ACTUAL "Select in projects"/"select in files" and "sync editor with views" does not work. EXPECTED "Select in projects"/"select in files" and "sync editor with views" works.
Can you provide more info. The Select in Project and Sync views for classes from library works fine. (tried on Absolute Layout library) I'm not sure how should work Select in Files, the classes are not part of project directory and sub-directories so there is no node to be selected. Thanks
(In reply to comment #1) > I'm not sure how should work Select in Files, the classes are not part of > project directory and sub-directories so there is no node to be selected. When there is only one choice (like only on project OR n projects but only one references the lib) open it directly. When there are several choices like 2 projects referencing the same lib, then present a "choice dialog". After selecting an item in the "dialog", the node will be selected.
Works fine. 1) Created a J2SE Project. 2) Added Library with no sources (Lucene containing lucene.jar) 3) Go To Type IndexReader -> generated file opened. 4) Select In Project -> selects IndexReader.class from lucene.jar under J2SE Project's Libraries.