30 Days with IntelliJ IDEA. Find Usages

Start a new week of productive coding with a cup of coffee or a new article from our 30 Day Guide on the trickier features of IntelliJ IDEA. Today we will talk about finding usages — a well-known feature but one that you could learn more about.

Just as a reminder, Find usages helps you quickly find all pieces of code referencing a symbol at the caret, within a file or in the whole project.

Did you know?

Find usages is on the whole a very simple feature. However, it has some powerful aspects that may improve your coding productivity greatly. For example, there’s highlighting of usages within an opened file. Did you know you could easily find the methods overridden or implemented for a particular class or interface? Thinks like that can save you a lot of time.

Just put the caret at the implements or extends statement and press Shift + Ctrl + F7 (Shift + Cmd + F7 for Mac). If there is more than one class or interface, it will ask you whose methods to highlight.

Read the complete article and start getting the most out of Find Usages in IntelliJ IDEA.

Stay tuned for more articles coming soon!

Develop with Pleasure!

About Andrey Cheptsov

Andrey Cheptsov is IntelliJ IDEA product marketing manager at JetBrains. He's passionate about productivity, programming languages and tools.
This entry was posted in Tips & Tricks and tagged . Bookmark the permalink.

One Response to 30 Days with IntelliJ IDEA. Find Usages

  1. Tropper says:

    I really enjoying this series. There this so much stuff I didn’t know even thought I use IDEA everyday for quite some years now.

    Btw: I changed the keyboard layout. So F7 is the popup usage on my system because is it much quicker and in 90% of the cases it is enough. And you can switch from the popup to the regular “Usages” window.

    This is one of the rare cases where IMHO the keyboard layout should be changed in the default too. :-)

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>