SAS Enterprise Guide 8.1 (EG) does not display the autocomplete list for snippets within a macro definition (i.e., between %MACRO and %MEND keywords.
EG does display the autocomplete for the snippet outside of the macro definition. EG also displays the autocomplete list for macro variables within the macro
I have included screenshots below for the macro %ThisMacro and the snippet _Boo
%macro ThisMacro(
Var=/*boo*/
);
%mend;
Outside of the macro definition the autocomplete menu appears for snippet _Boo
Inside the macro definition, the autocomplete menu for macro variables appears
But inside the macro definition, the autocomplete menu for snippets does not appear
I have an older version of SAS EG (7.15) and see a similar behavior, the abbreviations does not seems to work inside macros for some reason.
Check out this tutorial series to learn how to build your own steps in SAS Studio.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.