Code Explorer

Old Content - visit altium.com/documentation

The following content has been imported from Legacy Help systems and is in the process of being checked for accuracy.

Function

The Code Explorer panel provides a visual summary of all identifiers (variables, functions and procedures) that are used in the active script document (*.pas, *.vbs, *.js, *.tcl, *.bas).

Content and Use

The identifier information that appears in the Code Explorer panel is grouped under the following top-level folders:

  • Procedures & Functions - includes all procedures and functions declared in the active script document. For each procedure/function, any parameters passed to the procedure/function or variables local to it are also listed

  • Variables - includes all global variables declared in the active script document

If local variables are declared for a procedure/function, they will appear listed in a variables sub-folder, under that procedure/function.
Unique icons are used to distinguish between the various identifiers:

-

Procedure

-

Function

-

Procedure/function parameter

-

Variable (local or global)

Double-clicking on an entry in the panel (or selecting it and pressing ENTER) will jump to the corresponding area of code in the design editor window. Placement of the text cursor depends on the entry type:

  • Procedure/function - the text cursor will be placed at the beginning of the first executable statement
  • Procedure/function parameter - the text cursor will be placed to the immediate right of the identifier
  • Variable - the text cursor will be placed to the immediate left of the identifier.

Right-click Menu

The right-click pop-up menu for the panel provides the following commands:

  • Sort by declaration order - display all folders and identifiers therein in the order in which they are actually declared in the script document
  • Sort alphabetically - display all folders and identifiers therein, in alphabetical order.

Notes

  • Direct filtering is available, allowing you to quickly jump to an entry by directly typing within the panel.

To use this feature, click within the panel and type the first letter of the entry you wish to jump to. The first entry in the panel starting with the letter you type will become selected and the letter will be highlighted to show that filtering of the panel content is based upon it, as shown.
If the panel contains multiple identifier entries starting with the same letter, narrow your search by typing additional letters as required.
To clear the current filtering, allowing you to enter a different starting letter, press ESC. Use the BACKSPACE key to clear the previously entered filter characters, in sequence.
Note: The feature will find identifier entries listed in folders and sub-folders that are currently collapsed, expanding such folders where necessary.

  • The keyboard shortcuts Up Arrow and Down Arrow can be used to select the previous and next entry in the panel, respectively. Stepping up or down using these shortcuts will clear any direct filtering currently applied.

See Also

You are reporting an issue with the following selected text and/or image within the active document:
Altium Designer 免费试用
Altium Designer Free Trial
我们开始吧!首先,您或者您的公司已经在使用Altium Designer了吗?

如果您有任何需求,请点击这里联系获取当地办公室销售代表联系方式。.
Copyright © 2019 Altium Limited

既然您在使用Altium Designer,为何仍需要试用?

如果您有任何需求,请点击这里联系获取当地办公室销售代表联系方式。.
Copyright © 2019 Altium Limited

好的,实际上您无需下载一个试用版本。

点击下方按钮下载最新版本的Altium Designer安装包

下载Altium Designer 安装包

如果您有任何需求,请点击这里联系获取当地办公室销售代表联系方式。.
Copyright © 2019 Altium Limited

填写下方表格,获取Altium Designer最新报价。

点击[获取免费试用],并同意我们的隐私政策。您会接收到来自Altium的资讯,并允许其改变您的通知首选项。

如果您是Altium维保期内客户,您不需要下载试用版本。

如果您不是Altium维保客户,请填写下方表格免费试用。

点击[获取免费试用],并同意我们的隐私政策。您会接收到来自Altium的资讯,并允许其改变您的通知首选项。

您为何想要试用Altium Designer?

如果您有任何需求,请点击这里联系获取当地办公室销售代表联系方式。.
Copyright © 2019 Altium Limited

那您来对地方了!请填写下方表格申请试用吧。

点击[获取免费试用],并同意我们的隐私政策。您会接收到来自Altium的资讯,并允许其改变您的通知首选项。

听上去很棒!您知道我们为学生提供了特殊折扣么?欲知详情,请点击这里。.

同时,请填写下方表格申请免费试用吧。

点击[获取免费试用],并同意我们的隐私政策。您会接收到来自Altium的资讯,并允许其改变您的通知首选项。

好的,您可以下载免费的Altium Designer Viewer查看文档,有效期6个月。

请填写下方表格申请。

点击[获取免费试用],并同意我们的隐私政策。您会接收到来自Altium的资讯,并允许其改变您的通知首选项。

好棒!创作是一件超酷的事情,我们可以为您提供完美的设计软件。

Upverter是一个社区导向的交流平台,专为您这样的创客量身定做。

点击这里看看吧!

如果您有任何需求,请点击这里联系获取当地办公室销售代表联系方式。.
Copyright © 2019 Altium Limited

好的,您可以下载免费的Altium Designer Viewer查看文档,有效期6个月。

请填写下方表格申请。

点击[获取免费试用],并同意我们的隐私政策。您会接收到来自Altium的资讯,并允许其改变您的通知首选项。