Cheatography
https://cheatography.com
Keyboard shortcuts for SAS Studio v5.2. Read more about SAS at https://sas.com
This is a draft cheat sheet. It is a work in progress and is not finished yet.
WORKSPACE - GENERAL
Ctrl + Num [+] |
Zoom in 1) 2) |
Ctrl + Num [-] |
Zoom out 2) |
Ctrl + Num [0] |
Zoom reset 2) |
Alt + F11 |
Toggle fullscreen view on | off |
Alt + C |
Toggle Console window on | off |
F4 / Alt + N |
Create a new SAS program |
Ctrl + S |
Save the SAS program/log/results 3) |
F3 |
Submit/run the selectÂed or all code |
F9 |
Reset the SAS session 4) |
Ctrl + P |
Print the SAS program, log, or results |
Shift + F10 |
Open the context menu |
Ctrl + O |
Open |
Ctrl + Z |
Undo last edit |
Ctrl + Y |
Redo next edit (if undoing first) |
Ctrl + F |
Find text |
Alt + PgDn |
Goto next tab (tabbed interface) |
Alt + PgUp |
Goto prev. tab (tabbed interface) |
Ctrl + F6 |
Open Landmarks |
Ctrl + F9 |
Display keyboard shortcuts |
Ctrl + ` |
Invert app colors |
NOTES:
1) Zooming in SAS Studio hides the browser window scroll bars
2) One may alternatively use the browser's functionality for zooming
3) Display the Program/Log/Results tab, then press keyboard shortcut
4) All libraries and work-tables created during the session are deleted
TEXT - GENERAL
Ctrl + Backspace |
Delete to start of current word |
Ctrl + Delete |
Delete to start of next word |
Insert |
Toggle text mode insert | overwrite |
Tab |
Indent text |
Shift + Tab |
Decrease indentation |
Ctrl + Shift + U |
Cycle case upper | lower | mixed |
TEXT - SELECTION
Ctrl + A |
All text in document |
Shift + Ctrl + Home |
To top/start of program |
Shift + Ctrl + End |
To bottom/end of program |
Shift + Ctrl + Up |
To start of current paragraph/line |
Shift + Ctrl + Down |
To end of current paragraph/line |
Shift + Ctrl + Left |
To start of previous word |
Shift + Ctrl + Right |
To start of next word |
TEXT - CODE EDITOR
Ctrl + / |
Toggle line comment |
Ctrl + \ |
Toggle block comment |
Ctrl + Num [-] |
Fold section |
Ctrl + Num [+] |
Unfold section |
Alt + Num [-] |
Fold all |
Alt + Num [+] |
Unfold all |
Ctrl + Spacebar |
Show autocomplete list |
Ctrl + Shift + Spacebar |
Show prev. autocomplete list |
F3 |
Submit/Run selected/all code |
Alt + A |
Create new snippet |
Alt + I |
Insert snippet |
|
|
NAVIGATION - NAVIGATION PANE
Shift + Alt + F10 |
Open a pop-up menu 1) 2) |
Home |
Navigate to top level node 2) |
Ctrl + Home |
Navigate to top sect. node 2) |
End |
Navigate to bottom level node 2) |
Ctrl + End |
Navigate to bottom sect. node 2) |
FOOTNOTES:
1) An item must be selected before pressing the keyboard shortcut
2) Valid in the navigation pane
NAVIGATION - GENERAL
Ctrl + Home |
Jump to the top |
Ctrl + End |
Jump to the bottom |
Ctrl + Up |
Jump to start of current paragraph/line |
Ctrl + Down |
Jump to start of next paragraph/line |
Ctrl + Left |
Jump to start of previous word |
Ctrl + Right |
Jump to start of next word |
Alt + Up |
Jump to first visible line |
Alt + Down |
Jump to last visible line |
NAVIGATION - CODE EDITOR
Alt + 1 |
Focus the first active pane |
Alt + 2 |
Focus the current active secondary tab |
Alt + 3 |
Focus the label of the primary tab |
Alt + 4 |
Focus the body of the Code tab |
Alt + 5 |
Go to the Log |
Alt + 6 |
Go to the Results |
Ctrl + G |
Jump to a specific line number |
Ctrl + [ |
Jump to matching start bracket |
Ctrl + ] |
Jump to matching end bracket |
Ctrl + ( |
Jump to the matching parenthesis |
Alt + [ |
Jump to the matching DO |
Alt + ] |
Jump to the matching END |
Alt + L |
Clear the Log |
|
|
SAS STUDIO - GENERAL
ESC |
Quit current |
Enter |
Perform the default action |
Delete |
Delete |
Ctrl + X |
Cut selected text |
Ctrl + C |
Copy selected text |
Ctrl + V |
Paste selected text |
Ctrl + P |
Print |
Ctrl + Shift + PgUp |
Upload |
Ctrl + Shift + PgDn |
Download |
Alt + S |
Search |
Alt + U |
Submission status |
Alt + W |
Close active primary tab |
Alt + M |
Toggle & focus command line |
Ctrl + Alt + I |
Show & focus command line |
Ctrl + Shift + X |
Clear command queue |
Ctrl + Alt + 1 |
Focus on toolbar button |
Alt + 7 |
Go to output data tab |
Ctrl + Alt + T |
Go to the toolbar (expr. builder) |
Ctrl + Alt + V |
Go to the values tab (expr. bldr) |
Ctrl + Alt + L |
Go to the log tab (expr. builder) |
F8 |
Run all |
F1 |
Open SAS Studio online help |
Ctrl + H |
Find and replace |
Ctrl + Shift + B |
Format code |
Alt + F1 |
Toggle focus main tab | editor |
Shift + F1 |
Toggle focus parent tab | editor |
F6 |
Focus first control in prev. sect. |
Shift + F6 |
Focus first control in next sect. |
Alt + R |
Recall last run code |
Ctrl + Shift + D |
Open DATA step in Debugger |
Alt + F10 |
Execute one program statement |
Alt + Shift + B |
Toggle breakpoint marker |
Shift + F9 |
Clear all breakpoints |
|