Code Editor Shortcuts in the SCE

This article is currently being updated. Please come back later for updates.

Within the Statistical Computing Environment, users can create and maintain SAS programs directly in the elluminate web interface. This article provides details on common usage of the editor.

Important: To ensure shortcuts work as expected, set your keyboard language to English (US).

Line Operations

Action Windows / Linux Mac
Remove line Ctrl-D Cmd-D
Copy lines down Alt-Shift-Down Cmd-Option-Down
Copy lines up Alt-Shift-Up Cmd-Option-Up
Move line down Alt-Down Option-Down
Move lines up Alt-Up Option-Up
Remove to line end Alt-Delete Ctrl-K
Remove to line start Alt-Backspace Cmd-Backspace
Remove word left Ctrl-Backspace Option-Backspace, Ctrl-Option-Backspace
Remove word right Ctrl-Delete Option-Delete
Split line --- Ctrl-O
Indent Tab Tab
Outdent Shift-Tab Shift-Tab
 

 

Selections

Action Windows / Linux Mac
Select all Ctrl-A Cmd-A
Select left Shift-Left Shift-Left
Select right Shift-Right Shift-Right
Select word left Ctrl-shift-Left Option-Shift-Left
Select word right Ctrl-Shift-Right Option-Shift-Right
Select line start Shift-Home Shift-Home
Select line end Shift-End Shift-End
Select to line end Alt-Shift-Right Cmd-Shift-Right
Select to line start Alt-Shift-Left Cmd-Shift-Left
Select up Shift-Up Shift-Up
Select down Shift-Down Shift-Down
Select page up Shift-PageUp Shift-PageUp
Select page down Shift-PageDown Shift-PageDown
Select to start Ctrl-Shift-Home Cmd-Shift-Up
Select to end Ctrl-Shift-End Cmd-Shift-Down
Duplicate selection Ctrl-Shift-D Cmd-Shift-D
Select to matching bracket Ctrl-Shift-P ---
 

 

Cursor Movement

Action Windows / Linux Mac
Go to left Left Left, Ctrl-B
Go to right Right Right, Ctrl-F
Go to word left Ctrl-Left Option-Left
Go to word right Ctrl-Right Option-Right
Go line up Up Up, Ctrl-P
Go line down Down Down, Ctrl-N
Go to line start Alt-Left, Home Cmd-Left, Home, Ctrl-A
Go to line end Alt-Right, End Cmd-Right, End, Ctrl-E
Go to page up PageUp Option-PageUp
Go to page down PageDown Option-PageDown, Ctrl-V
Go to start Ctrl-Home Cmd-Home, Cmd-Up
Go to end Ctrl-End Cmd-End, Cmd-Down
Go to line Ctrl-L Cmd-L
Scroll line down Ctrl-Down Cmd-Down
Scroll line up Ctrl-Up ---
Go to matching bracket Ctrl-P ---
Scroll page down --- Option-PageDown
Scroll page up --- Option-PageUp
 

 

Search / Replace

Action Windows / Linux Mac
Find Ctrl-F Command-F
Replace Ctrl-H Command-Option-F
Find next Ctrl-K Command-G
Find previous Ctrl-Shift-K Command-Shift-G
 

 

Navigation & Miscellaneous

Action Windows / Linux Mac
Save to current version* Ctrl-S Cmd-S
Save as new version*
(This functionality is not supported in Microsoft Edge version 116 and later.)
Ctrl-Shift-S Cmd-Shift-S
Create a new SCE file** F4, Ctrl-Alt-Shift-N Fn-F4, Ctrl-Alt-Shift-N
Execute a program** F3, Ctrl-Alt-R Fn-F3, Cmd-Option-R
(does not work in Safari browser)
Navigate between tabs in the Editor - to the right** Alt-3, Ctrl-F12 Option-3, Cmd-F12
Navigate between tabs in the Editor - to the left** Shift-Alt-3, Ctrl-F11 Shift-Option-3, Cmd-F11
Close active tab in the Editor** Ctrl-Alt-W Cmd-Option-W
(does not work in Safari browser)
Close all tabs except active tab in the Editor** Ctrl-Shift-Alt-W Cmd-Option-Shift-W
Close all tabs in the Editor** Alt-W Option-W
Comment and uncomment program syntax** Ctrl-Shift-C, Ctrl-/ Cmd-Shift-C, Cmd-/
Undo Ctrl-Z Cmd-Z
Redo Ctrl-Shift-Z, Ctrl-Y Cmd-Shift-Z, Cmd-Y
Transpose letters Ctrl-T Ctrl-T
Change text to lower case Ctrl-Shift-U Ctrl-Shift-U
Change text to upper case Ctrl-U Ctrl-U
Delete Delete --
 

*Available beginning in v23.2.0

**Available beginning in v24.1.0

Was this article helpful?

0 out of 0 found this helpful

Have more questions? Submit a request