开发者

Does Eclipse shows what are the list of classes extending current class

I am curious to know if eclipse has the feature of showing all the list of classes that are extending the current class. This feature is available in INTELLI开发者_StackOverflow中文版J..any ideas.


Others have mentioned the Type Hierarchy View. There's also the Quick Type Hierarchy: Ctrl + T


The Type Hierarchy View.

The type hierarchy tree shows supertypes, subtypes or both of a given type depending on the selection made in the toolbar.

"Show the Subtype Hierarchy": This command displays the subtypes of the selected class and/or all implementors of the interface in the Hierarchy view. The tree starts at the selected type and displays the result of traversing down the hierarchy


It's called Type Hierarchy. Default keyboard shortcut key is F4.

There's couple of ways to do this.

1) Open the code, click it's class declaration and press F4 or Right click and select "Open Type Hierarchy F4" menu option.

2) Right Click on the source File, and select "Open Type Hierarchy F4"

PS. For more Eclipse Shortcut key, press Ctrl+Shift+L or select "Help"->"Key Assist.... Ctrl+Shift+L" menu option.


I believe you're looking for Type Hierarchy

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜