Please note: This is not about editor Macros or abbreviations. I am NOT interested any editor-based abbreviation or editor -macro solution to this. (Although they are admittedly helpful, that's out of scope).
I have a number of macros defined, that are loaded in autoexec process flow. As of version 7.15 HF3 (7.100.5.6132) (32-bit), I am not seeing my macros autocomplete when I type in their name in the editor. Also:
As an example, I have
%macro meantable(x= /* data table */,y=/* statistics used */,z=/* version */);
...<stuff>
%mend;
I would like to type %mea and have the word %meantable (and any other macros defined that start with the characters mea) appear in the editor. After I type in the open paren, I'd like to see the integrated documentation for x,y, and z.
Currently this is not happening.
Hi @mftuchman,
Currently, the editor offers syntax suggestions only for SAS macros that are defined within the current editor view (your open program). While the editor does scan the SAS environment for possible libnames, data sets, and variable names, it does not scan the macro function table nor the SASAUTOS path for potential macros you could call.
I'm not sure if that's on the roadmap -- knowing a bit of the internals, I'd say it's a tricky one to solve. But perhaps someone from the dev team can chime in.
Chris
Don't miss out on SAS Innovate - Register now for the FREE Livestream!
Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.
What’s the difference between SAS Enterprise Guide and SAS Studio? How are they similar? Just ask SAS’ Danny Modlin.
Find more tutorials on the SAS Users YouTube channel.