<?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: Customize code collapse in SAS Enterprise Guide Editor in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Customize-code-collapse-in-SAS-Enterprise-Guide-Editor/m-p/761492#M39305</link>
    <description>&lt;P&gt;Hello,&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/358374"&gt;@Paul_de_Barros&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have a simple work-around for that:&amp;nbsp; Put an extra semi colon after each such comment.&amp;nbsp; Try it with the below code.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Jim&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;**	This is an explanatory comment	**;;
PROC	SQL;
	SELECT COUNT(*)
		FROM	SASHELP.CARS;
RUN;

/*	This is another explanatory comment	*/;
DATA	_NULL_;
	Answer=42;
	PUTLOG	"NOTE:  "  Answer=;
	STOP;
RUN;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Fri, 13 Aug 2021 19:49:28 GMT</pubDate>
    <dc:creator>jimbarbour</dc:creator>
    <dc:date>2021-08-13T19:49:28Z</dc:date>
    <item>
      <title>Customize code collapse in SAS Enterprise Guide Editor</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Customize-code-collapse-in-SAS-Enterprise-Guide-Editor/m-p/761488#M39304</link>
      <description>&lt;P&gt;I really like collapsing code in the Editor in SEG, but there are certain aspects of it that are suboptimal.&amp;nbsp; For example, I like to put a 1-line comment as a header just above a whole set of steps.&amp;nbsp; I'd like to still be able to see the header even when the code is collapsed, but when you collapse a step, any empty lines or comments just before the step also get hidden.&amp;nbsp; Is there a way to change this feature?&amp;nbsp; Or is there a workaround to trick the Editor into not collapsing certain comments?&amp;nbsp; Any suggestions would be appreciated.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Note: I've already taken a look at Tools &amp;gt; Options &amp;gt; SAS Programs &amp;gt; Enhanced Editor Options, but the Collapsible Code settings there seem fairly rudimentary.&lt;/P&gt;</description>
      <pubDate>Fri, 13 Aug 2021 19:23:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Customize-code-collapse-in-SAS-Enterprise-Guide-Editor/m-p/761488#M39304</guid>
      <dc:creator>Paul_de_Barros</dc:creator>
      <dc:date>2021-08-13T19:23:43Z</dc:date>
    </item>
    <item>
      <title>Re: Customize code collapse in SAS Enterprise Guide Editor</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Customize-code-collapse-in-SAS-Enterprise-Guide-Editor/m-p/761492#M39305</link>
      <description>&lt;P&gt;Hello,&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/358374"&gt;@Paul_de_Barros&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have a simple work-around for that:&amp;nbsp; Put an extra semi colon after each such comment.&amp;nbsp; Try it with the below code.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Jim&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;**	This is an explanatory comment	**;;
PROC	SQL;
	SELECT COUNT(*)
		FROM	SASHELP.CARS;
RUN;

/*	This is another explanatory comment	*/;
DATA	_NULL_;
	Answer=42;
	PUTLOG	"NOTE:  "  Answer=;
	STOP;
RUN;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 13 Aug 2021 19:49:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Customize-code-collapse-in-SAS-Enterprise-Guide-Editor/m-p/761492#M39305</guid>
      <dc:creator>jimbarbour</dc:creator>
      <dc:date>2021-08-13T19:49:28Z</dc:date>
    </item>
    <item>
      <title>Re: Customize code collapse in SAS Enterprise Guide Editor</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Customize-code-collapse-in-SAS-Enterprise-Guide-Editor/m-p/849856#M41875</link>
      <description>&lt;P&gt;Hi! I am new with SAS and I am also using SEG.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I noticed this option of collapsing and expanding SAS steps in the program editor.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Although I haven't figured out yet, what is the use of it?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is it just to make the code more tidy? Or?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also why can't I run my steps when they are collapsed, is there some shortcut to it, apart from F3?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 15 Dec 2022 13:34:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Customize-code-collapse-in-SAS-Enterprise-Guide-Editor/m-p/849856#M41875</guid>
      <dc:creator>MariannaKotopou</dc:creator>
      <dc:date>2022-12-15T13:34:08Z</dc:date>
    </item>
    <item>
      <title>Re: Customize code collapse in SAS Enterprise Guide Editor</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Customize-code-collapse-in-SAS-Enterprise-Guide-Editor/m-p/866499#M42614</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/437741"&gt;@MariannaKotopou&lt;/a&gt;&amp;nbsp;Code collapse is just to make things easier to read.&amp;nbsp; If you highlight the collapsed code, you can still run it with the Run Selection button, though I haven't tried it with keyboard shortcuts.&lt;/P&gt;</description>
      <pubDate>Mon, 27 Mar 2023 10:48:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Customize-code-collapse-in-SAS-Enterprise-Guide-Editor/m-p/866499#M42614</guid>
      <dc:creator>Paul_de_Barros</dc:creator>
      <dc:date>2023-03-27T10:48:29Z</dc:date>
    </item>
  </channel>
</rss>

