Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

SAS Enhanced Editor - KeyBoard Shortcuts that YOU Should Know

SAS Tips

SAS Enhanced Editor - KeyBoard Shortcuts that YOU Should Know

by  klaz2002  Posted    (Edited  )
Have you ever used the SAS editor, to write your code, and wished for a real powerfull text editor? Well with the SAS Enhanced Editor there are some undocumented shortcuts that can really speed up your code writing.

Here are a few shortcuts and their descriptions:

1) Comment selected section of code with Line Comments press: [red]CTL+/[/red]
2) Uncomment selected section that has Line Comments press: [red]CTL+SHIFT+/[/red]
3) Convert selected section to lowercase press: [red]CTL+SHIFT+L[/red]
4) Convert selected section to uppercase press: [red]CTL+SHIFT+U[/red]
5) Indent selected section press: [red]TAB[/red]
6) Un-indent selected section press: [red]SHIFT+TAB[/red]
7) To move curser to the matching DO/END statement press:
[red] a) ALT+[
b) ALT+]
c) ALT+9
d) ALT+0[/red]
8)
Delete trailing white space from selected text(from line if not selected) press: [red]CTL+SHIFT+W[/red]
9)
Collapse all folding blocks press: [red]ALT+CTL+ -[/red]
10)
Expand all folding blocks press: [red]ALT+CTL+ +[/red]
11)
Go to line number press: [red]CTL+G[/red]
Register to rate this FAQ  : BAD 1 2 3 4 5 6 7 8 9 10 GOOD
Please Note: 1 is Bad, 10 is Good :-)

Part and Inventory Search

Back
Top