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.
If you get usages for a class from the NBM manifest, you cannot double-click it to open in the editor.
confirmed. I just don't know how to do it. AFAIK one needs to calculate some kind of offsets within the Document. hard to do when working with Manifest instances (or Layer's FileSystem/FileObject instances)
Hmm, just search the Document as text I guess, can't be that hard.
for now, I've just added code to that opens the document with ofset equal to 0. so it opens but not on the right place. it's ok for META-INF/services I guess,manifest and especially layer.xml suffer however. unfortunately these are also harder to figure as i'm working on top of models (java.util.jar.Manifest and layer filesystem respectively). it seems to me non-trivial currently tofind out reliably with the currect implementation. scheduling to "future".
*** Issue 66808 has been marked as a duplicate of this issue. ***
I have a patch for this. Tedious but works.
Should be pretty accurate. Could be fooled by pathological cases such as: X-Nonsense: p/C.class OpenIDE-Module-Install: p/C.class or <file name="x.instance"> <attr name="useless" stringvalue="p.C"/> <attr name="instanceClass stringvalue="p.C"/> </file> committed * Up-To-Date 1.3 apisupport/refactoring/src/org/netbeans/modules/apisupport/refactoring/AbstractRefactoringElement.java committed * Up-To-Date 1.8 apisupport/refactoring/src/org/netbeans/modules/apisupport/refactoring/AbstractRefactoringPlugin.java committed * Up-To-Date 1.7 apisupport/refactoring/src/org/netbeans/modules/apisupport/refactoring/NbRenameRefactoringPlugin.java committed * Up-To-Date 1.7 apisupport/refactoring/src/org/netbeans/modules/apisupport/refactoring/NbSafeDeleteRefactoringPlugin.java committed * Up-To-Date 1.7 apisupport/refactoring/src/org/netbeans/modules/apisupport/refactoring/NbWhereUsedRefactoringPlugin.java
cool :-))