Contact us Start a Trial

Class hierarchy view

Languages:

Verilog VHDL
Class Hierarchy View

The Class Hierarchy View displays more information about the hierarchy of a class. It consists of a hierarchy tree and a list of its class members. To open the Class Hierarchy of a class, right-click the class name and select Show Class Hierarchy (or press F4 ). You can also use the Code Lens above the class declaration.

The members list is populated for whichever class you select in the Class Hierarchy. Clicking any element in the class hierarchy tree or members list opens it in a preview editor  (note that the title in the editor tab is shown in italics). Double-clicking an item will open a permanent editor. You can right-click any item to open the declaration in the editor or to show the class hierarchy for that element instead.

Show class Hierarchy

Class Hierarchy Tree

The class hierarchy tree displays the superclasses, subclasses, or both.

IconCommandDescription
Class HierarchyDisplays all superclasses and subclasses.
Superclass HierarchyDisplays all superclasses and implemented interface classes.
Subclass HierarchyDisplays all subclasses that extend or implement the selected (interface) class.
SearchSearch in the Class Hierarchy.
Expand AllExpand the Class Hierarchy.
Collapse AllCollapse the Class Hierarchy.
Toggle Show Qualified Class NamesShows the qualified name next to each class.

Member List

The member list shows all members (fields, functions, tasks, and constructors) of a selected class in the class hierarchy tree.

The icon shown in the view describes the current active state of the members list options.

IconCommandDescription
show inherited members iconShow Inherited MembersShows members inherited from superclasses. They’re shown in a light gray.
hide inherited members iconHide Inherited MembersHides members inherited from superclasses.
show fields iconShow FieldsShows fields in the members list.
hide fields iconHide FieldsHides fields in the members list.
SearchSearch through the members.
Toggle Sort By Defining ClassSorts members by the class in which they are defined.