Altium Designer Documentation


Created: July 27, 2015 | Updated: June 2, 2017
Now reading version 17.1. For the latest, read: ExpandAll for version 21
Applies to Altium Designer versions: 15.1, 16.0, 16.1, 17.0, 17.1, 18.0, 18.1, 19.0, 19.1, 20.0, 20.1 and 20.2

Parent page: TextEdit Commands

The following pre-packaged resource, derived from this base command, is available:

Applied Parameters: None


This command is used to expand all code outline blocks in the current document.


Right-click and choose Outlining » Expand All from the context menu.


After launching the command, all code outline blocks in the document will be expanded, revealing all code statements in the document.

When collapsed, a  control appears to the right of the top statement for each code block. Hovering the mouse over this will reveal the code that has been collapsed. Double-clicking on this control will expand that individual code block.


  1. To expand/collapse an individual code block, simply click on the small  or  control, to the left of the top statement in the block.
  2. The use of code outlining, including an option to display the collapse lines - the extent of an individual code block - is enabled/disabled from the Text Editors - Display page of the Preferences dialog.


Found an issue with this document? Highlight the area, then use Ctrl+Enter to report it.

Contact Us

Contact our corporate or local offices directly.

We're sorry to hear the article wasn't helpful to you.
Could you take a moment to tell us why?
200 characters remaining
You are reporting an issue with the following selected text
and/or image within the active document: