Skip to content

Outline does not capture steps within macro definitions #6

@thays42

Description

@thays42

Any steps written within a macro definition do not appear in the Outline. Since macros are a way to group and reuse steps, it would be nice if the outline could show steps and macros within a macro definition.

To replicate, place the following code in a new SAS script:

data work.class;
    set sashelp.class;
run;

proc sort data=work.class;
    by age;
run;

%macro foo();
    data work.class;
        set sashelp.class;
    run;
    
    proc sort data=work.class;
        by age;
    run;
%mend;

The Outline looks like this:

image

It would be great if it could look something like this (mocked up in paint):

image

I am using v0.0.4 of the extension.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions