Code Explorer

From RAD Studio
Jump to: navigation, search

Go Up to View Menu


The Code Explorer:

  • Is displayed in the upper right pane in the IDE when you are editing code in the Code Editor.
    This is the same pane that is used by the Structure View when you are working in the Form Designer.
  • Allows you to navigate through the unit files of the current project.
  • Displays a tree diagram that shows all of the types, classes, properties, methods, global variables, and global routines defined in each unit.
  • Shows the other units listed in the uses clause.

For further information about the Code Explorer, including the context menu, see Structure View.

When you select an item in the Code Explorer, the cursor moves to the implementation of that item in the Code Editor. When you move the cursor in the Code Editor, the highlight moves to the appropriate item in the Code Explorer.

The Code Explorer uses the following icons:

Icon Description

Class icon

Classes

Interface icon

Interfaces

Unit icon

Units

Constant icon

Constants or variables (including fields)

Method icon

Methods or routines: Procedures

Method icon

Methods or routines: Functions

Property icon

Properties

Type icon

Types


Tip: To adjust the Code Explorer settings, choose Tools > Options > Delphi Options > Explorer.

See Also