Difference between revisions of "IDE Window: Code Explorer"

From Lazarus wiki
Jump to navigationJump to search
Line 1: Line 1:
 
{{Code Explorer}}
 
{{Code Explorer}}
  
The code explorer shows a pascal file as two trees. There are two pages '''Code''' and '''Directives'''. The ''Code'' page shows the pascal structure - types, variables, constants, classes, etc. The ''Directives'' page shows the compiler directives structure - $IFDEFs, $DEFINEs, $INCLUDEs, etc.
+
The code explorer shows a pascal file as two trees. There are two pages '''Code''' and '''Directives'''. The ''Code'' page shows the pascal structure - types, variables, constants, classes, etc and since 0.9.27 the '''Code observer'''. The ''Directives'' page shows the compiler directives structure - $IFDEFs, $DEFINEs, $INCLUDEs, etc.
  
 
Double click on the nodes to jump to the corresponding position in the source.
 
Double click on the nodes to jump to the corresponding position in the source.

Revision as of 00:12, 29 April 2009

Deutsch (de) English (en) français (fr) português (pt)

The code explorer shows a pascal file as two trees. There are two pages Code and Directives. The Code page shows the pascal structure - types, variables, constants, classes, etc and since 0.9.27 the Code observer. The Directives page shows the compiler directives structure - $IFDEFs, $DEFINEs, $INCLUDEs, etc.

Double click on the nodes to jump to the corresponding position in the source.

Hint: The code explorer is a floating window. That means you can leave it open and switch freely between other floating windows like the source editor or the object inspector.

Refresh

Click on this button to update parse the current unit in the source editor and rebuild the tree in the code explorer.

Options

Open the dialog to setup the options of the code explorer.

Filter (text field above treeview)

For example 'to' will show all identifiers containing 'to'. Like 'Button', 'IntToStr'.