<?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 to copy paste code with colors and format Cntrl+I in university edition? in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/How-to-copy-paste-code-with-colors-and-format-Cntrl-I-in/m-p/622285#M278555</link>
    <description>&lt;P&gt;Hi I'm not sure how useful this will be to you since this post like a few years old but hopefully it helps someone else.&amp;nbsp;&lt;/P&gt;&lt;P&gt;There's a button to copy the SAS Studio code shown in screenshot (where cursor is) and when copied and pasted that way, the color remains.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 04 Feb 2020 19:33:44 GMT</pubDate>
    <dc:creator>FNY</dc:creator>
    <dc:date>2020-02-04T19:33:44Z</dc:date>
    <item>
      <title>How to copy paste code with colors and format Cntrl+I in university edition?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-copy-paste-code-with-colors-and-format-Cntrl-I-in/m-p/399840#M278550</link>
      <description>&lt;P&gt;Hello Folks,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How to copy paste code with colors and format Cntrl+I in university edition?Everytime I pasted the code, I seem to lose the color. Also what's the short cut to format the code like an equivalent to&amp;nbsp;&lt;SPAN&gt;Cntrl+I in Enterprise guide. Any ideas please?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 29 Sep 2017 16:23:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-copy-paste-code-with-colors-and-format-Cntrl-I-in/m-p/399840#M278550</guid>
      <dc:creator>novinosrin</dc:creator>
      <dc:date>2017-09-29T16:23:15Z</dc:date>
    </item>
    <item>
      <title>Re: How to copy paste code with colors and format Cntrl+I in university edition?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-copy-paste-code-with-colors-and-format-Cntrl-I-in/m-p/399856#M278551</link>
      <description>&lt;P&gt;I don't think there is any way. One of the prices of building an application to run inside a browser.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 29 Sep 2017 17:30:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-copy-paste-code-with-colors-and-format-Cntrl-I-in/m-p/399856#M278551</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2017-09-29T17:30:58Z</dc:date>
    </item>
    <item>
      <title>Re: How to copy paste code with colors and format Cntrl+I in university edition?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-copy-paste-code-with-colors-and-format-Cntrl-I-in/m-p/399866#M278552</link>
      <description>&lt;P&gt;SAS University Edition does have a button to format code.&amp;nbsp; It's to the left of the button to maximize view.&amp;nbsp; The screen shot below shows the location.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Format code button is at the top of the program window in SAS University Edition" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/15517iBA3DB00350A76DF5/image-size/large?v=v2&amp;amp;px=999" role="button" title="SAS Studio format code button.jpg" alt="Format code button is at the top of the program window in SAS University Edition" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Format code button is at the top of the program window in SAS University Edition&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 29 Sep 2017 17:56:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-copy-paste-code-with-colors-and-format-Cntrl-I-in/m-p/399866#M278552</guid>
      <dc:creator>SuzanneDorinski</dc:creator>
      <dc:date>2017-09-29T17:56:59Z</dc:date>
    </item>
    <item>
      <title>Re: How to copy paste code with colors and format Cntrl+I in university edition?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-copy-paste-code-with-colors-and-format-Cntrl-I-in/m-p/426616#M278553</link>
      <description>&lt;P&gt;but what does it do?&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm facing the same problem&lt;/P&gt;</description>
      <pubDate>Wed, 10 Jan 2018 19:45:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-copy-paste-code-with-colors-and-format-Cntrl-I-in/m-p/426616#M278553</guid>
      <dc:creator>Teema</dc:creator>
      <dc:date>2018-01-10T19:45:08Z</dc:date>
    </item>
    <item>
      <title>Re: How to copy paste code with colors and format Cntrl+I in university edition?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-copy-paste-code-with-colors-and-format-Cntrl-I-in/m-p/426766#M278554</link>
      <description>&lt;P&gt;The "format code" button can make a program easier to read.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/4"&gt;@ChrisHemedinger&lt;/a&gt;&amp;nbsp;wrote a &lt;A href="https://blogs.sas.com/content/sasdummy/2010/07/14/hope-for-ugly-programs/" target="_self"&gt;blog post&lt;/A&gt; about how you can do this in Enterprise Guide.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In the screen shot below, I typed a bunch of SAS statements.&amp;nbsp; While you can write programs this way, it can be difficult for others to read them and understand them quickly.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Example of messy SAS code" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/17782i2187F64F3BBB9079/image-size/large?v=v2&amp;amp;px=999" role="button" title="Messy SAS program.jpg" alt="Example of messy SAS code" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Example of messy SAS code&lt;/span&gt;&lt;/span&gt;After I press that "format code" button, the program looks like the screen shot below.&amp;nbsp; Statements are placed on separate lines, some statements are automatically indented, and blank lines are inserted between PROCs, data steps, and comments.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Nicely formatted SAS code" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/17783iB6CD4F460E4528F3/image-size/large?v=v2&amp;amp;px=999" role="button" title="Nicely formatted SAS code.jpg" alt="Nicely formatted SAS code" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Nicely formatted SAS code&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jan 2018 04:44:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-copy-paste-code-with-colors-and-format-Cntrl-I-in/m-p/426766#M278554</guid>
      <dc:creator>SuzanneDorinski</dc:creator>
      <dc:date>2018-01-11T04:44:29Z</dc:date>
    </item>
    <item>
      <title>Re: How to copy paste code with colors and format Cntrl+I in university edition?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-copy-paste-code-with-colors-and-format-Cntrl-I-in/m-p/622285#M278555</link>
      <description>&lt;P&gt;Hi I'm not sure how useful this will be to you since this post like a few years old but hopefully it helps someone else.&amp;nbsp;&lt;/P&gt;&lt;P&gt;There's a button to copy the SAS Studio code shown in screenshot (where cursor is) and when copied and pasted that way, the color remains.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 04 Feb 2020 19:33:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-copy-paste-code-with-colors-and-format-Cntrl-I-in/m-p/622285#M278555</guid>
      <dc:creator>FNY</dc:creator>
      <dc:date>2020-02-04T19:33:44Z</dc:date>
    </item>
    <item>
      <title>Re: How to copy paste code with colors and format Cntrl+I in university edition?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-copy-paste-code-with-colors-and-format-Cntrl-I-in/m-p/697470#M278556</link>
      <description>Wow, it works! Thank you very much, kind sir. Somehow Copy + Paste doesn't work, but pressing the button "copy code" keeps the format and colors!</description>
      <pubDate>Sun, 08 Nov 2020 22:22:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-copy-paste-code-with-colors-and-format-Cntrl-I-in/m-p/697470#M278556</guid>
      <dc:creator>Siarhei_B</dc:creator>
      <dc:date>2020-11-08T22:22:51Z</dc:date>
    </item>
    <item>
      <title>Re: How to copy paste code with colors and format Cntrl+I in university edition?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-copy-paste-code-with-colors-and-format-Cntrl-I-in/m-p/704617#M278557</link>
      <description>Thank you, FNY! It took me some time to find the cursor, but I found it! After selecting a section of code the "cut code" and "copy code" options become active!</description>
      <pubDate>Wed, 09 Dec 2020 04:58:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-copy-paste-code-with-colors-and-format-Cntrl-I-in/m-p/704617#M278557</guid>
      <dc:creator>Emma_at_SAS</dc:creator>
      <dc:date>2020-12-09T04:58:32Z</dc:date>
    </item>
    <item>
      <title>Re: How to copy paste code with colors and format Cntrl+I in university edition?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-copy-paste-code-with-colors-and-format-Cntrl-I-in/m-p/890310#M351791</link>
      <description>&lt;P&gt;Thank you so much! I was copying code into Google Docs and worrying how much time it would take to format the colors. All I had to do was highlight my code, click the Copy Code button in SAS Studio and paste regularly (Ctrl+V or Cmd+V). Hope this helps others with lots to format!&lt;/P&gt;</description>
      <pubDate>Mon, 21 Aug 2023 22:15:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-copy-paste-code-with-colors-and-format-Cntrl-I-in/m-p/890310#M351791</guid>
      <dc:creator>RichaTemple</dc:creator>
      <dc:date>2023-08-21T22:15:27Z</dc:date>
    </item>
  </channel>
</rss>

