SAS Enterprise Guide

Desktop productivity for business analysts and programmers
BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.

According to the site: https://blogs.sas.com/content/sasdummy/2013/10/29/five-keyboard-shortcuts/ 
Commenting out code is done by Ctrl + /. 

This does not work for me? I have to use Ctrl + *. How come? 

The follow up question is, how do I uncomment code with a keyboard shortcut? 

Thanks. 

1 ACCEPTED SOLUTION

Accepted Solutions
FreelanceReinh
Jade | Level 19

Hello @SasStatistics,

 

This is most likely due to a non-US keyboard layout. I have similar "issues" with my German keyboard where the corresponding shortcut is Ctrl + + and for uncommenting Ctrl + Shift + + (although I'm not quite sure if this is the shipped default or if I have changed it in Tools → Options → Enhanced Editor Keys → Category "Selection Operations" -- which would be another option for you if you aren't satisfied with the current shortcut).

 

See also this 2018 thread for a (user-defined) keyboard shortcut for commenting out selected text rather than whole lines.

View solution in original post

3 REPLIES 3
FreelanceReinh
Jade | Level 19

Hello @SasStatistics,

 

This is most likely due to a non-US keyboard layout. I have similar "issues" with my German keyboard where the corresponding shortcut is Ctrl + + and for uncommenting Ctrl + Shift + + (although I'm not quite sure if this is the shipped default or if I have changed it in Tools → Options → Enhanced Editor Keys → Category "Selection Operations" -- which would be another option for you if you aren't satisfied with the current shortcut).

 

See also this 2018 thread for a (user-defined) keyboard shortcut for commenting out selected text rather than whole lines.

SasStatistics
Pyrite | Level 9

Thanks. I have a non US keyboard so that explains it. 

But where do I find the Enhanced Editor Keys (See picture)? 

SasStatistics_0-1622629990115.png

 

FreelanceReinh
Jade | Level 19

I see, you are using SAS Enterprise Guide, where (at least in version 7.15) the dialog is found under Program → Enhanced Editor Keys... (when an Enhanced Editor window is open). My first post referred to the traditional "Display Manager" interface of SAS 9.4.

sas-innovate-white.png

Our biggest data and AI event of the year.

Don’t miss the livestream kicking off May 7. It’s free. It’s easy. And it’s the best seat in the house.

Join us virtually with our complimentary SAS Innovate Digital Pass. Watch live or on-demand in multiple languages, with translations available to help you get the most out of every session.

 

Register now!

Creating Custom Steps in SAS Studio

Check out this tutorial series to learn how to build your own steps in SAS Studio.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 3 replies
  • 8724 views
  • 3 likes
  • 2 in conversation