DVT e Language IDE User Guide
Rev. 19.1.41, 29 November 2019

33.10.8 Layers View

The e Language aspect oriented programming (AOP) capabilities allows you to "extend" some entities, for example a struct using extend or when, a method using is also, is first etc.. The definition of some entity might end up being spread over multiple files.

The Layers View provides a compact presentation of all the extensions (layers) of a specific entity. The layers are ordered according to the compile order as computed from imports in top files and test files.

Position the cursor on the entity name and press Shift+F3 or right click and chose Show > Layers from the menu.

The Layers View is automatically raised at any invocation. You can also open it from Window > Show View > Other... > DVT > Layers.

Double click on a layer and jump to the corresponding source location.

You can use CamelCase or Simple Regex to locate a specific element.

  1. Collect Layers. Applicable only for methods. Collects the source code from all method layers and dumps it to a temporary file.

  2. Show History List. Click to see the previously inspected layers (see the image below):

In case of layers for a struct/unit you can right click and further inspect the Type Hierarchy View or the Verification Hierarchy View.

Sometimes you might want see the layers of the type of a field, the layers of the return type of a method or the layers of the type of the elements in a list. Just place the cursor on the element and press Shift+F3 twice (first time you will see the layers of the element, and second time the layers of its "associated" type, as defined above).

33.10.8.1 Quick Layers View

Position the cursor on the element's name and press Ctrl+Shift+O.

The Quick Layers View will pop-up and present a filterable list with all of the selected element's layers.

You can use CamelCase or Simple Regex to locate a specific element.

Select a layer and press Enter or click to jump to the corresponding source location.

Similar to the layers view, you can quickly inspect the "associated" type of an element by pressing the shortcut key twice.