Using Custom Groups with the C++ Class Explorer

From RAD Studio
Jump to: navigation, search

Go Up to C++ Class Explorer Topics


You can create your own custom display groups in addition to the default groups that are used by the the C++ Class Explorer (current project, VCL, RTL, ATL, STL, BOOST).

To create a custom group:

  1. In RAD Studio, open a project that contains a managed unit (.cpp/.h files) that define classes, interfaces, or other types.
  2. Open the C++ Class Explorer ( Tools > Options > C++ Options > Class Explorer).
  3. Do either of the following:
    • Click the toolbar button Configure custom groups ClExplCreateGroup.png.
    • Right-click any element in the Type List and select Configure custom groups from the context menu.
  4. The Explorer File Groups dialog box is displayed. The default groups (such as VCL and RTL) are displayed with the group icon (ClExplCustomGroup.png) in the Groups field, along with any custom groups that have already been created.
  5. In the Name entry field, type a name for the group you want to create.
  6. In the Directories entry field, type the path to the directory that contains the source you want to include in the group. (You can copy-and-paste the Address field from the Explorer.)
  7. Click Add. The new group appears in the Groups field.

To edit an existing custom group:

  1. Perform steps 1-4 in the previous procedure.
  2. In the Groups field, select the group that you want to edit.
  3. To change the name of the group, type a new name for the selected group, in the Name entry field.
  4. To change the directory for the group, type the directory that contains the source you want to include in the group, in the Directories entry field. (You can copy-and-paste the Address field from the Explorer.)
  5. Click Replace. The new name and directory are applied to the selected display group.


To delete a display group:

  1. Perform steps 1-4 in To create a custom group.
  2. In the Groups field, select the group that you want to delete.
  3. Click Delete.