Discover More Tips and Techniques on This Blog

SAS Keyboard Shortcuts

Here are the few shortcuts you need to know to speed up the code writing. These work in both EPG (Enterprise Guide) and SAS Enhanced Editor.
Shortcuts and their descriptions:
Remember that the keyboard shortcuts listed here are default.

Selection Operations:1) Comment the section with line comments (/): press CTL + /
2) Undo the comment: press CTL + SHIFT + /
3) Convert selected text to lowercase: press CTL + SHIFT + L
4) Convert selected text to uppercase: press CTL + SHIFT + U
Shortcuts (pre-defined) CTRL+Shift+L or +U (only for the enhanced editor), which convert all selected text into lowercase or uppercase respectively. These become very handy  when we insert the text by copy+paste.

5) Indent selected section: press TAB
6) Un-indent selected section: press SHIFT + TAB
7) To move curser to the matching DO/END statement: press
     ALT + [ or
     ALT + { or  
     ALT+] or
     ALT + }

 Miscellaneous:1) To see the desktop: press (Window’s Key + M) or (Window’s Key + D)

Navigate around Text:

1) Move to beginning of line: Press Home
2) Move to top: Press CTRL+Home
3) Move to end: Press CTRL+End

Mark (Highlight) the Text:

1) Mark to beginning of line: Press SHIFT+Home
2) Mark to end of line: Press SHIFT+End
3) Mark to top: Press SHIFT+CTRL+Home
4) Mark to end: Press SHIFT+CTRL+End

Window Control:

1) To cascade the windows: Press SHIFT+F5
2) To Tile the windows: Press SHIFT+F4
3) To go to the next window: Press CTRL+F6
4) To close the active window: Press CTRL+F4
5) To exit the SAS system: Press ALT+F4


('DiggThis’)

Disclosure:

In the spirit of transparency and innovation, I want to share that some of the content on this blog is generated with the assistance of ChatGPT, an AI language model developed by OpenAI. While I use this tool to help brainstorm ideas and draft content, every post is carefully reviewed, edited, and personalized by me to ensure it aligns with my voice, values, and the needs of my readers. My goal is to provide you with accurate, valuable, and engaging content, and I believe that using AI as a creative aid helps achieve that. If you have any questions or feedback about this approach, feel free to reach out. Your trust and satisfaction are my top priorities.