Keyboard Shortcuts

The following table contains the keyboard shortcuts for the application. In the user interface, the shortcuts are displayed within parentheses in tooltips and menu labels.
Action
Keyboard Shortcut for Microsoft Windows
Keyboard Shortcut for Mac OS X
Zoom in.
Note: When you zoom into SAS Studio, no scroll bars are displayed for the browser window.
Ctrl+plus sign
Command+plus sign
Zoom out.
Ctrl+minus sign
Command+minus sign
Reset the zoom state.
Ctrl+0
Command+0
Maximize the view of the currently displayed tab or exit the maximized view.
Alt+F11
Fn+Option+F11
Select an item, and press Shift+F10.
Note: If you use Shift+F10 to display the pop-up menu, then it is always displayed in the top left corner of the user interface control that you are using.
Select an item, and press Fn+Option+F10.
Open a pop-up menu in the code editor.
Shift+F10
Fn+Option+F10
Create a new SAS program.
F4
Fn+F4
Save the SAS program.
Ensure that the Code tab for a SAS program is displayed, and press Ctrl+S.
Note: This shortcut does not work for the Code tab that displays a task's XML code.
Ensure that the Code tab for a SAS program is displayed, and press Command+S.
Note: This shortcut does not work for the Code tab that displays a task's XML code.
Run the code.
Ensure that a Code tab is displayed, and press F3.
Ensure that a Code tab is displayed, and press Fn+F3.
Reset the SAS session.
Note: When you reset the SAS session, all libraries and file shortcuts that you created during the current session are deleted.
F9
Fn+F9
Download the log or results as an HTML file.
Ensure that the Log or Results tab is displayed, and press Ctrl+S.
Ensure that the Log or Results tab is displayed, and press Command+S.
Print the SAS program, log, or results.
Ctrl+P
Note: This shortcut does not work for the Log and Results tabs when you use Internet Explorer. This shortcut requires Internet Explorer 10 or later. For workarounds, see “Exceptions to Accessibility Standards.”.
Command+P to open the content in a new tab. Then press Command+P again to print the content.
Close the selected primary tab.
Note: You cannot close the Code, Log, and Results tabs.
Ensure that the focus is on the tab label (press Alt+3 if necessary), and then press Delete.
Ensure that the focus is on the tab label (press Option+3 if necessary), and then press Delete.
Note: If your keyboard does not contain a key for deleting forward, then press fn+delete.
Move the focus to the Server Files and Folders section label.
Alt+1
Note: This shortcut requires Internet Explorer 10 or later.
Option+1
Move the focus to the label of the currently displayed secondary tab.
In the SAS Programmer perspective, the secondary tabs are Code, Log, or Results.)
In the Visual Programmer perspective, the secondary tabs are Flow, Results, and Properties.
Alt+2
Option+2
Move the focus to the label of the currently displayed primary tab and then navigate among all open tabs in the work area.
Alt+3
Option+3
Move the focus to the body of the Code tab on the currently displayed primary tab.
Alt+4
Option+4
Move the focus to the selected item in the Log tab on the currently displayed primary tab.
Alt+5
Option+5
Select all text in the code editor.
Ctrl+A
Command+A
Copy text in the code editor.
Ctrl+C
Command+C
Cut text in the code editor.
Ctrl+X
Command+X
Paste text in the code editor.
Ctrl+V
Command+V
Undo an action in the code editor.
Ctrl+Z
Control+Z
Redo an action in the code editor.
Ctrl+Y
Control+Y
Find and replace text in the code editor.
Ensure that the focus is in the body of the code editor, and then press Ctrl+F.
Ensure that the focus is in the body of the code editor, and then press Control+F.
Change case of selected text in the code editor.
Ctrl+Shift+U cycles between uppercase and lowercase.
Ctrl+U coverts the selected text to uppercase.
Ctrl+L converts the selected text to lowercase.
Command+Shift+U cycles between uppercase and lowercase.
Ctrl+U coverts the selected text to uppercase.
Ctrl+L converts the selected text to lowercase.
Add or remove comment tags for SAS code in the code editor.
Ctrl+/
Note: This shortcut might not work if your keyboard does not have the forward slash (/) character on the same key as the question mark (?) character.
Command+/
Note: This shortcut might not work if your keyboard does not have the forward slash (/) character on the same key as the question mark (?) character.
In the code editor, display the currently applicable list of SAS keywords (autocomplete feature).
Ctrl+spacebar (This shortcut also navigates to the next list if more than one is available.)
Ctrl+Shift+spacebar (This shortcut also navigates to the previous list if more than one is available.)
Note: These shortcuts do not work when JAWS is on.
Note: If you use Ctrl+spacebar to switch the input method editor (IME) in Windows, complete these steps to use a different shortcut for switching the IME:
  • First, in the region and language options of the Control Panel, select the option for changing your keyboard or input method.
  • Next, select the option or button for changing your keyboard.
  • Then, in the advanced key settings section, select the row that contains the Ctrl+spacebar key sequence and change it to use a different shortcut.
  • Finally, restart any application that needs to use the new shortcut. (You might need to also restart your computer.)
Control+spacebar (This shortcut also navigates to the next list if more than one is available.)
Control+Shift+spacebar (This shortcut also navigates to the previous list if more than one is available.)
Navigate between an autocomplete list and its associated Help pop-up window in the code editor.
Tab, Shift+Tab
Tab, Shift+Tab
Move the cursor to the beginning of the word on the left of the cursor.
Ctrl+left arrow
Option+left arrow
Move the cursor to the beginning of the word on the right of the cursor.
Ctrl+right arrow
Move the cursor to the end of the word on the right of the cursor.
Option+right arrow
Move the cursor to the beginning of the previous paragraph.
Option+up arrow
Move the cursor to the beginning of the next paragraph.
Option+down arrow
Scrolls the editor (the cursor does not move).
Ctrl+up arrow, Ctrl+down arrow
Scrolls a page down or up (moves cursor).
Page Down, Page Up
Page Down, Page Up
Move the cursor to the end of the line.
End
Command+right arrow
Move the cursor to the beginning of the line.
Home
Command+left arrow
Move the cursor to the top of the document.
Ctrl+Home
Command+up arrow
Move the cursor to the bottom of the document.
Ctrl+End
Command+down arrow
Select (highlight) text to the left of the cursor character-by-character.
Shift+left arrow
Shift+left arrow
Select (highlight) text to the right of the cursor character-by-character.
Shift+right arrow
Shift+right arrow
Select (highlight) text from the cursor to the same location on the previous line.
Shift+up arrow
Shift+up arrow
Select (highlight) text from the cursor to same location on the next line.
Shift+down arrow
Shift+down arrow
Delete the word on the left of the cursor.
Ctrl+Backspace
Option+Delete (backward)
Delete the word on the right of the cursor.
Ctrl+Delete
Option+Delete (forward)
Delete the current line.
Command+Delete (backward)
Select (highlight) the word on the left of the cursor.
Ctrl+Shift+left arrow
Option+Shift+left arrow
Select (highlight) the word on the right of the cursor.
Ctrl+Shift+right arrow
Option+Shift+right arrow
Select (highlight) text from the cursor to the beginning of the document.
Command+Shift+up arrow
Select (highlight) text from the cursor to the end of the document.
Command+Shift+down arrow
Create a new snippet from SAS code.
Note: The snippet is saved to your My Snippets folder.
In the code editor, select the code and press Alt+A.
In the code editor, select the code and press Command+ Alt+A.
Insert an existing snippet.
Note: Only snippets saved to your My Snippets folder are available.
Alt + I
Command + Alt + I