Share via


Class Diagram Shortcut Keys, General Development Settings

The following shortcut key combinations can be used only while working with class diagrams.

Command Name

Shortcut Keys

Description

ClassDiagram.Collapse

NUM - (MINUS SIGN)

Collapses expanded nodes in the Class Details window or collapses the selected shape compartment in the diagram.

ClassDiagram.Expand

NUM + (PLUS SIGN)

Expands collapsed nodes in the Class Details window or expands the selected shape compartment in the diagram.

Edit.Delete

CTRL + DELETE

Removes the selected item from the class diagram.

Edit.ExpandCollapseBaseTypeList

SHIFT + ALT + B

Expands or collapses base types in the selected shape compartment.

For example, if Interface1 inherits from Interface2, Interface3, and Interface4, the parental interfaces are listed on the shape compartment for Interface1. With this command, you can collapse the list of inherited interfaces to show only summary information about the number of base interfaces inherited by Interface1.

Edit.NavigateToLollipop

SHIFT + ALT + L

Selects the Interface Lollipop for a shape compartment.

Edit.RemoveFromDiagram

DELETE

Removes the selected shape compartment from the diagram.

View.ViewCode

ENTER

For the selected item, opens the corresponding file and places the cursor in the correct location.

See Also

Reference

General Development Settings Default Shortcut Keys