al-code-outline icon indicating copy to clipboard operation
al-code-outline copied to clipboard

AL Outline panel support Region Directive in AL (New Feature Request)

Open louagej opened this issue 3 years ago • 0 comments

Hi,

Could support of regions be added to the AL Outline?

Source: Region Directive in AL

Assume we have this codeunit:

codeunit 50000 MyCodeunit
{
    #region My ugly functions - let's not look at this
    procedure UglyCode()
    begin
        // No one should look at this
    end;

    procedure UglyCode2()
    begin
        // No one should look at this too
    end;
    #endregion

    #region My Beautiful code - let's look at this
    procedure BeautifulCode()
    begin
        // Someone should look at this
    end;

    procedure BeautifulCode2()
    begin
        // Someone should look at this too
    end;
    #endregion
}

For MyCodeunit, this is what I get in the AL Outline window:

image

For MyCodeunit, this is what it could look like in the AL Outline window:

image

louagej avatar Jul 08 '22 11:07 louagej