BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
_maldini_
Barite | Level 11

I watched an instructional SAS video where the "teacher" typed a comment (i.e. "list first 10 rows") and then selected it w/ a cursor and hit "Control" and "Slash" on the keyboard. The comment was automatically transformed into appropriate commenting format: "/* list first 10 rows */".

 

The teacher was using SAS University Edition on Windows. Not sure about the browser. This combination of keystrokes does nothing on a Mac using Chrome.

 

Any insight? Seems like a useful little shortcut. Thanks.

 

example.png

1 ACCEPTED SOLUTION

Accepted Solutions
ChrisBrooks
Ammonite | Level 13

If you're running on a Mac the keyboard shortcut to insert/remove comments is Cmd+/ not Ctrl+/ - you don't actually need to select the whole line either, just place the cursor anywhere on that line and the whole line is commented out.

 

You can find the full list of keyboard shortcuts for both Windows and Mac OS here -> https://support.sas.com/software/products/university-edition/faq/SASStudio_keyboardshortcuts.pdf

View solution in original post

1 REPLY 1
ChrisBrooks
Ammonite | Level 13

If you're running on a Mac the keyboard shortcut to insert/remove comments is Cmd+/ not Ctrl+/ - you don't actually need to select the whole line either, just place the cursor anywhere on that line and the whole line is commented out.

 

You can find the full list of keyboard shortcuts for both Windows and Mac OS here -> https://support.sas.com/software/products/university-edition/faq/SASStudio_keyboardshortcuts.pdf

Ready to join fellow brilliant minds for the SAS Hackathon?

Build your skills. Make connections. Enjoy creative freedom. Maybe change the world. Registration is now open through August 30th. Visit the SAS Hackathon homepage.

Register today!
Mastering the WHERE Clause in PROC SQL

SAS' Charu Shankar shares her PROC SQL expertise by showing you how to master the WHERE clause using real winter weather data.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 1 reply
  • 656 views
  • 1 like
  • 2 in conversation