Home > Visualization > Visualization – Member Icons

Visualization – Member Icons

November 12th, 2010

The Member Icons visualization feature shows small icons over each member (method, property, field, etc) or type (class, struct, interface, etc). These icons appear to the left of a target member or type:

CodeRush Member Icons Visibility preview

There are two groups of icons that can be shown:

  • Visibility Modifier Icons, which indicate the member visibility modifier. The following visibility modifier icons are available:

Icon

Visibility modifier

Public

Internal

Internal Protected

Protected

Private

Access modifier icons can also be displayed if the visibility keyword is omitted.

  • Member Type Icons, which indicate the type of a member. The icons differ for static (Shared) and instance members. The following member type icons are available:

Member

Instance

Static (Shared)

Class

Struct

Interface

Delegate

Enumeration

Method

Constructor

Property

Indexed Property

Event

Constant

Field

You can click the member icon to present a drop-down menu of valid access modifiers for the member and several other actions which can be performed with a member, such as:

  • Select
  • Comment
  • Copy
  • Cut

CodeRush Member Icons drop-down menu

Other DXCore/CodeRush plug-ins can add additional menu items into the Member drop-down menu. An example is the “Member Mover” plug-in, which allows you to move a particular member into a region by your preference:

CodeRush Member Icons Move To Region preview
You can also add any items into this menu programmatically.

The group of icons for members can be chosen on the Editor | Painting | Member Icons options page in the Options Dialog. There are additional settings available, such as the opacity of the icon and several icon appearance options:

CodeRush Member Icons options page

To quickly turn Member Icons on or off, use the appropriate icon on the DXCore Visualize toolbar:

CodeRush Member Icons Toolbar item

—–
Products: CodeRush Pro
Versions: 10.1 and up
VS IDEs: any
Updated: Feb/03/2010
ID: C037

Similar Posts: