<?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: Looking for SAS Enterprise Guide Keyboard Shortcut in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Looking-for-SAS-Enterprise-Guide-Keyboard-Shortcut/m-p/556809#M155139</link>
    <description>&lt;P&gt;That was admittedly a poor example, but I work with a lot of data that needs to be recoded, so I'm frequently writing lines like the following:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;else&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="3"&gt;if&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;&amp;nbsp;Q2 = &lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="3"&gt;2&lt;/FONT&gt;&lt;/STRONG&gt; &lt;FONT color="#0000ff" face="Courier New" size="3"&gt;then&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; Program = &lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="3"&gt;'Emergency Medicine'&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="3"&gt;It's rather easy to copy the line with a quick keyboard shortcut. But thank you for pointing out that this is not a feature in SAS EG.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 07 May 2019 15:21:37 GMT</pubDate>
    <dc:creator>svh</dc:creator>
    <dc:date>2019-05-07T15:21:37Z</dc:date>
    <item>
      <title>Looking for SAS Enterprise Guide Keyboard Shortcut</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Looking-for-SAS-Enterprise-Guide-Keyboard-Shortcut/m-p/556783#M155127</link>
      <description>&lt;P&gt;Is there a keyboard shortcut--like there is in RStudio--that copies the current line of code to the next line.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;/* For example: I may want to duplicate a class statement for another procedure. I often find that I need to re-use a line in another procedure*/

PROC LOGISTIC DATA=HAVE
   CLASS X Y Z;
   MODEL A = X Y Z;
   RUN;

PROC LOGISTIC DATA =NEXT;
  /*PUT COPIED STATEMENT HERE*/

   &lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;That shortcut is Shift+Alt+Down arrow in RStudio. I could not find such a shortcut in the list of shortcuts in EG, but perhaps I'm overlooking something.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 07 May 2019 14:20:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Looking-for-SAS-Enterprise-Guide-Keyboard-Shortcut/m-p/556783#M155127</guid>
      <dc:creator>svh</dc:creator>
      <dc:date>2019-05-07T14:20:31Z</dc:date>
    </item>
    <item>
      <title>Re: Looking for SAS Enterprise Guide Keyboard Shortcut</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Looking-for-SAS-Enterprise-Guide-Keyboard-Shortcut/m-p/556800#M155133</link>
      <description>&lt;P&gt;I don't think that's an option, which sort of makes sense in SAS, the lines don't build on one another like they do in R. Can you give an example of how/when that would be used? It woudn't make sense for the example you posted since you would never have two proc statements back to back like that.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/181543"&gt;@svh&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Is there a keyboard shortcut--like there is in RStudio--that copies the current line of code to the next line.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;/* For example: I may want to duplicate a class statement for another procedure. I often find that I need to re-use a line in another procedure*/

PROC LOGISTIC DATA=HAVE
   CLASS X Y Z;
   MODEL A = X Y Z;
   RUN;

PROC LOGISTIC DATA =NEXT;
  /*PUT COPIED STATEMENT HERE*/

   &lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;That shortcut is Shift+Alt+Down arrow in RStudio. I could not find such a shortcut in the list of shortcuts in EG, but perhaps I'm overlooking something.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 07 May 2019 14:59:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Looking-for-SAS-Enterprise-Guide-Keyboard-Shortcut/m-p/556800#M155133</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2019-05-07T14:59:17Z</dc:date>
    </item>
    <item>
      <title>Re: Looking for SAS Enterprise Guide Keyboard Shortcut</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Looking-for-SAS-Enterprise-Guide-Keyboard-Shortcut/m-p/556809#M155139</link>
      <description>&lt;P&gt;That was admittedly a poor example, but I work with a lot of data that needs to be recoded, so I'm frequently writing lines like the following:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;else&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="3"&gt;if&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;&amp;nbsp;Q2 = &lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="3"&gt;2&lt;/FONT&gt;&lt;/STRONG&gt; &lt;FONT color="#0000ff" face="Courier New" size="3"&gt;then&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; Program = &lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="3"&gt;'Emergency Medicine'&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="3"&gt;It's rather easy to copy the line with a quick keyboard shortcut. But thank you for pointing out that this is not a feature in SAS EG.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 07 May 2019 15:21:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Looking-for-SAS-Enterprise-Guide-Keyboard-Shortcut/m-p/556809#M155139</guid>
      <dc:creator>svh</dc:creator>
      <dc:date>2019-05-07T15:21:37Z</dc:date>
    </item>
    <item>
      <title>Re: Looking for SAS Enterprise Guide Keyboard Shortcut</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Looking-for-SAS-Enterprise-Guide-Keyboard-Shortcut/m-p/556810#M155140</link>
      <description>For recoding, I highly recommend looking into PROC FORMAT, it's quite powerful and avoids having to do multiple IF/THEN statements.</description>
      <pubDate>Tue, 07 May 2019 15:22:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Looking-for-SAS-Enterprise-Guide-Keyboard-Shortcut/m-p/556810#M155140</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2019-05-07T15:22:40Z</dc:date>
    </item>
  </channel>
</rss>

