DVT e Language IDE User Guide
Rev. 21.1.24, 8 June 2021
Table of Contents
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.
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).
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.
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.