<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: How do I get EG editor to recognize my SAS macros for autocompletion? in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-do-I-get-EG-editor-to-recognize-my-SAS-macros-for/m-p/463316#M29902</link>
    <description>Good point - calling them syntax suggestions makes it clearer what I mean.&lt;BR /&gt;Now, it is possible to get syntax suggestions for system macros such as&lt;BR /&gt;%sysevalf, so why not user-defined ones?  Since I like to auto source my&lt;BR /&gt;macros, they would lie in a different directory than my main SAS code.&lt;BR /&gt;</description>
    <pubDate>Fri, 18 May 2018 13:23:48 GMT</pubDate>
    <dc:creator>mftuchman</dc:creator>
    <dc:date>2018-05-18T13:23:48Z</dc:date>
    <item>
      <title>How do I get EG editor to recognize my SAS macros for autocompletion?</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-do-I-get-EG-editor-to-recognize-my-SAS-macros-for/m-p/463300#M29898</link>
      <description>&lt;P&gt;&lt;STRONG&gt;Please note: This is not about&amp;nbsp;&lt;EM&gt;editor Macros or abbreviations.&amp;nbsp; &amp;nbsp;I am NOT interested any editor-based abbreviation or editor -macro solution to this.&amp;nbsp;&amp;nbsp;&lt;/EM&gt;&lt;/STRONG&gt;&lt;EM&gt;(&lt;/EM&gt;Although they are admittedly helpful, that's out of scope)&lt;EM&gt;.&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have a number of macros defined, that are loaded in autoexec process flow.&amp;nbsp; As of version&amp;nbsp;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.&amp;nbsp; &amp;nbsp;Also:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Autocomplete is &lt;FONT color="#800000"&gt;already turned on&lt;/FONT&gt; via the tools &amp;gt; Editor Options menu path.&lt;/LI&gt;
&lt;LI&gt;I use "third character" autocomplete&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;&amp;nbsp;As an example, I have&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;%macro meantable(x= /* data table */,y=/*&amp;nbsp;statistics used */,z=/*&amp;nbsp;version&amp;nbsp; */);&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;...&amp;lt;stuff&amp;gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;%mend;&lt;/FONT&gt;&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I would like to type &lt;FONT face="courier new,courier"&gt;%mea&lt;/FONT&gt; and have the word &lt;FONT face="courier new,courier"&gt;%meantable (and any other macros&amp;nbsp;defined that start with&amp;nbsp; the characters mea)&amp;nbsp;&lt;FONT face="arial,helvetica,sans-serif"&gt;appear in the editor.&amp;nbsp; After I type in the open paren, I'd like to see the integrated documentation for x,y, and z.&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Currently this is not happening.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 18 May 2018 12:50:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-do-I-get-EG-editor-to-recognize-my-SAS-macros-for/m-p/463300#M29898</guid>
      <dc:creator>mftuchman</dc:creator>
      <dc:date>2018-05-18T12:50:22Z</dc:date>
    </item>
    <item>
      <title>Re: How do I get EG editor to recognize my SAS macros for autocompletion?</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-do-I-get-EG-editor-to-recognize-my-SAS-macros-for/m-p/463306#M29899</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13767"&gt;@mftuchman&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Currently, the editor offers syntax suggestions only for SAS macros that are defined within the current editor view (your open program).&amp;nbsp; 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.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;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.&amp;nbsp; But perhaps someone from the dev team can chime in.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Chris&lt;/P&gt;</description>
      <pubDate>Fri, 18 May 2018 12:52:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-do-I-get-EG-editor-to-recognize-my-SAS-macros-for/m-p/463306#M29899</guid>
      <dc:creator>ChrisHemedinger</dc:creator>
      <dc:date>2018-05-18T12:52:17Z</dc:date>
    </item>
    <item>
      <title>Re: How do I get EG editor to recognize my SAS macros for autocompletion?</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-do-I-get-EG-editor-to-recognize-my-SAS-macros-for/m-p/463316#M29902</link>
      <description>Good point - calling them syntax suggestions makes it clearer what I mean.&lt;BR /&gt;Now, it is possible to get syntax suggestions for system macros such as&lt;BR /&gt;%sysevalf, so why not user-defined ones?  Since I like to auto source my&lt;BR /&gt;macros, they would lie in a different directory than my main SAS code.&lt;BR /&gt;</description>
      <pubDate>Fri, 18 May 2018 13:23:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-do-I-get-EG-editor-to-recognize-my-SAS-macros-for/m-p/463316#M29902</guid>
      <dc:creator>mftuchman</dc:creator>
      <dc:date>2018-05-18T13:23:48Z</dc:date>
    </item>
  </channel>
</rss>

