SAS Support
Self Service Support
Assisted Support
Premium Support
Infrastructure Support
Logging a Call
Service Levels
Hints and Tips
 

KEYBOARD SHORTCUTS - DID YOU KNOW THAT THE SHORTCUT KEY CTRL + ] SEARCHES FOR A MATCHING BRACKET IN YOUR CODE? PART 1

There are a whole host of shortcut keys that can be used to make your life easier within SAS.
In this article we look at some of the most useful shortcut keys that can be used within the Enhanced Editor window.

Category Command Keyboard Shortcut
Abbreviation Bring up word tip Alt + F1 + No Selection
  Hide the current word tip Esc
Code Folding Collapse all folding blocks Alt + Ctrl + Number pad -
  Expand all folding blocks Alt + Ctrl + Number pad +
Command/Macro Support Execute the last recorded macro Ctrl + F1
Edit Copy selection Ctrl + C
  Cut selection Ctrl + X
  Paste from clipboard Ctrl + V
Help Get Help for a SAS procedure Place the cursor within a procedure name and press F1
  Context Help F1
Navigation Move cursor to matching brace/parentheses Ctrl + [

Ctrl + ]

Navigation Move cursor to matching brace/parentheses Ctrl + [

Ctrl + ]

  Move cursor to matching DO/END keyword Alt + [

Alt + ]

  Move cursor to next case change Alt + Right
  Move cursor to previous case change Alt + Left
Selection Select all Ctrl + A
Selection Operations Clean up white space Ctrl + Shift + W
  Comment the selection with line comments Ctrl + /
  Undo the Comment Ctrl + Shift + /
  Convert the selected text to lowercase Ctrl + Shift + L
  Convert the selected text to uppercase Ctrl + Shift + U

For a complete shortcut keys list, please search the SAS Online Doc CD for:

Default Key Definitions under Windows
Keyboard Shortcuts within Print Preview
Keyboard Shortcuts within the Enhanced Editor
Keyboard Shortcuts within the SAS Main Window

The tables above list the default key definitions for the primary SAS application windows (such as Program Editor, Log, and Output) and the Enhanced Editor window.

Any other key combinations that are not listed in the tables are either reserved by Windows or has a definition that you cannot change within SAS.

Did you find this page useful?

If you have any comments or questions, feel free to contact us.




0845 402 9907