The Code Explorer Window

PyScripter

The Code Explorer Window
Previous Top Next

It shows a structured (tree) view of the source code with functions classes and their methods. It can help you navigate through the code.   Double-clicking on a any function or class name moves the editor caret to the section of the code where the respective function or class are defined.
graphic


The context menus

a) Window Background


graphic


Commands:

Expand All
Expand all nodes of the tree

Collapse All
Collapse all nodes of the tree

Alpha Sort
If checked, tree nodes are sorted alphabetically, otherwise the node order follows the position of the identifiers in the code.

Follow Editor
If checked, as you move the cursor in the editor the class, method or function that contains the cursor gets selected in the Code Explorer.

Show Selection
If checked, when you select a node by mouse or keyboard, the position of the identifier in the code is shown without moving the focus to the editor.


b)  Node context menu

graphic

Commands:

Find Definition
Moves the editor caret to the section of the code where the respective function or class are defined.  Focus is shifted to the editor. It does the same as double-clicking on the identifier.

Find References
Invokes the Find References command for the selected identifier.

Highlight
If checked the occurrences of the selected identifier in the editor are highlighted.