Geertjan's Blog

  • August 3, 2015

NetBeans "Find Usages" Includes Dependencies

Geertjan Wielenga
Product Manager

Normally, in NetBeans, when you do "Find Usages" (Alt-F7), you get less than you might expect. Here, I'm doing "Find Usages" on org.jdesktop.beansbinding.Converter in the Client Editor sample project that is in the New Project wizard in the IDE:

The result is, unlike what you might expect, that the usages of the class are only found in the project classes:

However... in NetBeans IDE 8.1 (development builds already available here and a beta soon), you'll be able to add the following to the 'netbeans_default_options' of your etc/netbeans.conf file as described here:


After adding the above and restarting the IDE, you'll see that you can find usages in the project, as well as the project's dependencies:

The results include, as you might now expect, the usages of the class in the project, as well as the project's dependencies:

All the information is here: http://wiki.netbeans.org/FindUsagesDependencies

Note: All the screenshots above can be enlarged by clicking on them, to see their true resolution.

Join the discussion

Comments ( 1 )
  • Kenneth Friday, August 7, 2015

    Amazing ! Actually the Find (in projects, usage) actually helps a lot on our last system renewal/migration. Can't image workng without them !

Please enter your name.Please provide a valid email address.Please enter a comment.CAPTCHA challenge response provided was incorrect. Please try again.