Find descendent classes?

I've tried using the dependency viewer. But it doesn't seem to do what I want.

I want to put be able to find all classes which directly extend the class file I've highlighted. Either via a right-click option, or better yet, through a menu option.

Does IntelliJ have this capability?

Cheers.

3 comments
Comment actions Permalink

Press Ctrl-H.

Tom

0
Comment actions Permalink

Right-click, "Go to" -> "Implementations". This will show you a list of all
of them.

I've tried using the dependency viewer. But it doesn't seem to do
what I want.

I want to put be able to find all classes which directly extend the
class file I've highlighted. Either via a right-click option, or
better yet, through a menu option.

Does IntelliJ have this capability?

Cheers.



0
Comment actions Permalink

Laran Evans wrote:

I've tried using the dependency viewer. But it doesn't seem to do what I want.

I want to put be able to find all classes which directly extend the class file I've highlighted. Either via a right-click option, or better yet, through a menu option.

Does IntelliJ have this capability?

Cheers.


In 4.5 at least, a small icon appears in the editor's left-hand gutter
on the same line as the first line of a class, e.g.

class MyClass ...

The icon shows a downward pointing arrow. If you mouse over, you will
see a list of all classes that directly extend MyClass.

If you click on the icon, you will get a pick list that will take you to
each extending/implementing class.

0

Please sign in to leave a comment.