<?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: Custom Macro Parameter Descriptions - How to Format Description? in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Custom-Macro-Parameter-Descriptions-How-to-Format-Description/m-p/594098#M34812</link>
    <description>&lt;P&gt;Thank you for your response. Unfortunately, snippets is not what I'm looking for in this case. EG does in fact have snippet functionality though. I'm looking at modifying the context within the tool tip that pops up explaining what the keyword is. I have added screenshots to the original post for clarification.&lt;/P&gt;</description>
    <pubDate>Fri, 04 Oct 2019 13:39:23 GMT</pubDate>
    <dc:creator>data_snawb</dc:creator>
    <dc:date>2019-10-04T13:39:23Z</dc:date>
    <item>
      <title>Custom Macro Parameter Descriptions - How to Format Description?</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Custom-Macro-Parameter-Descriptions-How-to-Format-Description/m-p/593912#M34799</link>
      <description>&lt;P&gt;I am playing around with delivering a suite of macros to some of my customers and while I have external documentation on them, I would like to provide built in descriptions within EG.&amp;nbsp;An example of this would be when you type the keyword "data" and mouse over it, you get the description tool tip that pops up. In the example of mousing over the "data" keyword text has bold formatting as well as carriage returns. When writing your own macro, you have the ability to customize and create this description by inserting a comment after a parameter. This can be done for multiple parameters.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My question is how do I format this description? I've tried many common escape sequences trying to get this to happen to no avail. What I'd like to see is the ability to have the description have line breaks so I can provide something like&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Description:&lt;/P&gt;&lt;P&gt;Syntax:&lt;/P&gt;&lt;P&gt;Examples:&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; 1)&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; 2)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Instead what I get it all of that run together: "Description: Syntax: Examples: 1) 2)"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Code Example:&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;%macro foo(bar /* Description:
                  Syntax:
                  Examples:
                      1)
                      2)
                */);

    /* code to execute here */
%mend foo;

%foo(value);&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Tool tip built in stating can be customized.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="EGToolTipBefore.png" style="width: 468px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/32970i1B2E2596FAEF03CD/image-size/large?v=v2&amp;amp;px=999" role="button" title="EGToolTipBefore.png" alt="EGToolTipBefore.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Tool tip with customization:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="EGToolTipAfter.png" style="width: 436px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/32971i6B1E761989D68C22/image-size/large?v=v2&amp;amp;px=999" role="button" title="EGToolTipAfter.png" alt="EGToolTipAfter.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Edit: added Screenshots&lt;/P&gt;</description>
      <pubDate>Fri, 04 Oct 2019 13:38:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Custom-Macro-Parameter-Descriptions-How-to-Format-Description/m-p/593912#M34799</guid>
      <dc:creator>data_snawb</dc:creator>
      <dc:date>2019-10-04T13:38:11Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Macro Parameter Descriptions - How to Format Description?</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Custom-Macro-Parameter-Descriptions-How-to-Format-Description/m-p/593917#M34801</link>
      <description>&lt;P&gt;Does EG have the SNIPPETS concept that is in SAS/Studio?&lt;/P&gt;
&lt;P&gt;Perhaps you can make something like that rather than pop-up text.&lt;/P&gt;</description>
      <pubDate>Thu, 03 Oct 2019 20:58:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Custom-Macro-Parameter-Descriptions-How-to-Format-Description/m-p/593917#M34801</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2019-10-03T20:58:41Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Macro Parameter Descriptions - How to Format Description?</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Custom-Macro-Parameter-Descriptions-How-to-Format-Description/m-p/593926#M34804</link>
      <description>Consider custom tasks in EG?&lt;BR /&gt;&lt;A href="https://communities.sas.com/t5/Ask-the-Expert/Creating-custom-tasks-for-SAS-Enterprise-Guide/ta-p/395172" target="_blank"&gt;https://communities.sas.com/t5/Ask-the-Expert/Creating-custom-tasks-for-SAS-Enterprise-Guide/ta-p/395172&lt;/A&gt;</description>
      <pubDate>Thu, 03 Oct 2019 21:06:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Custom-Macro-Parameter-Descriptions-How-to-Format-Description/m-p/593926#M34804</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2019-10-03T21:06:08Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Macro Parameter Descriptions - How to Format Description?</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Custom-Macro-Parameter-Descriptions-How-to-Format-Description/m-p/594098#M34812</link>
      <description>&lt;P&gt;Thank you for your response. Unfortunately, snippets is not what I'm looking for in this case. EG does in fact have snippet functionality though. I'm looking at modifying the context within the tool tip that pops up explaining what the keyword is. I have added screenshots to the original post for clarification.&lt;/P&gt;</description>
      <pubDate>Fri, 04 Oct 2019 13:39:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Custom-Macro-Parameter-Descriptions-How-to-Format-Description/m-p/594098#M34812</guid>
      <dc:creator>data_snawb</dc:creator>
      <dc:date>2019-10-04T13:39:23Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Macro Parameter Descriptions - How to Format Description?</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Custom-Macro-Parameter-Descriptions-How-to-Format-Description/m-p/594100#M34813</link>
      <description>&lt;P&gt;Thank you for your response. Ideally they would like to avoid custom tasks in EG as ultimately everything will be submitted for batch so the EGP is not being used in production.&lt;/P&gt;</description>
      <pubDate>Fri, 04 Oct 2019 13:41:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Custom-Macro-Parameter-Descriptions-How-to-Format-Description/m-p/594100#M34813</guid>
      <dc:creator>data_snawb</dc:creator>
      <dc:date>2019-10-04T13:41:21Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Macro Parameter Descriptions - How to Format Description?</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Custom-Macro-Parameter-Descriptions-How-to-Format-Description/m-p/594118#M34819</link>
      <description>&lt;P&gt;This is how I format macro header.&amp;nbsp; I don't use EG, can you see if that style works with its "tooltip" feature?&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;%macro xxx
/*----------------------------------------------------------------------
Short description
----------------------------------------------------------------------*/
(p1=P1     /* Parameter one description */
,p1=P1     /* Parameter two description */
);

/*----------------------------------------------------------------------
Usage:

one or more usage examples
------------------------------------------------------------------------
Notes:

additional information
-----------------------------------------------------------------------
History:

yyyy-mm-dd username Creation
----------------------------------------------------------------------*/
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 04 Oct 2019 14:34:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Custom-Macro-Parameter-Descriptions-How-to-Format-Description/m-p/594118#M34819</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2019-10-04T14:34:48Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Macro Parameter Descriptions - How to Format Description?</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Custom-Macro-Parameter-Descriptions-How-to-Format-Description/m-p/594140#M34825</link>
      <description>&lt;P&gt;Thank you for your response. This is looking like the route we're going to have to go. The idea was for them to not have to look at the macro/header in another file or any external documentation. I may add a macro parameter for help. If it's used then it returns the help information to their log like when using commands on a terminal/command line with a help switch. In the long run once they're comfortable with the macro the need to refer to documentation drops drastically. This would also work with any other client and not just EG specific.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would still be curious to know if anyone finds out this EG tool tip formatting thing just because I enjoy knowing how things work.&lt;/P&gt;</description>
      <pubDate>Fri, 04 Oct 2019 15:44:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Custom-Macro-Parameter-Descriptions-How-to-Format-Description/m-p/594140#M34825</guid>
      <dc:creator>data_snawb</dc:creator>
      <dc:date>2019-10-04T15:44:05Z</dc:date>
    </item>
  </channel>
</rss>

