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.
Find Usages for project files (classes, methods, fields, ...) shows "incorrect" results: 1. the project is the last item in the list, files from Include Path are the first ones (the order should be reversed) 2. usages from Include path are typically incorrect since Include Path is a library and so, there hardly can be usages in library for project files... 3. the icons for folders are incorrect (icon for Java packages shown) Thanks. Product Version: NetBeans IDE Dev (Build 20111014-bfe2f49b93ff) Java: 1.6.0_24; Java HotSpot(TM) 64-Bit Server VM 19.1-b02 System: Linux version 2.6.38-11-generic running on amd64; UTF-8; cs_CZ (nb)
After the discussion with Tomas, it looks like the "folder" icons represents namespaces. I'm going to fix the order first.
When I have look at the ordering, I can not influence it. It looks like that the refactoring infrastructure orders the items alphabetically and I can not influence it from the clients side.
Tomasi, please, can you review if all problems are still valid? When you have a time of course ;) Thanks.
(In reply to comment #0) > 1. the project is the last item in the list, files from Include Path are the > first ones (the order should be reversed) Not true anymore. > 2. usages from Include path are typically incorrect since Include Path is a > library and so, there hardly can be usages in library for project files... Still valid. > 3. the icons for folders are incorrect (icon for Java packages shown) Still valid. Thanks.
> > 3. the icons for folders are incorrect (icon for Java packages shown) > > Still valid. > > Thanks. There is no folder node in 7.2dev Logical View. So just: > 2. usages from Include path are typically incorrect since Include Path is a > library and so, there hardly can be usages in library for project files... Still valid.
Fixed in web-main #83c924fcd4b5
Integrated into 'main-silver', will be available in build *201401300001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/83c924fcd4b5 User: Ondrej Brejla <obrejla@netbeans.org> Log: #203993 - Find Usages for project files shows "incorrect" results 2. do not show element usages from include path and do not allow user to refactor it