SAS Shortcut Keys

最常用的键有F3(运行代码)、F6(查看log信息)、Ctrl + / (注释代码)、Ctrl + Shift + / (取消代码注释)

SAS系统一共有4类快捷键,其中部分有重复, 第一类可自定义。

1. Default Key Definitions under Windows

这个可以点F9快捷键或者命令框敲keys都可以跳出这个快捷键窗口。作用部分为空的是未定义,可以自己定义这些空白的作用。

快捷键

作用

快捷键

作用

F1

Help 跳出帮助文件

Alt + F1

 

F2

reshow

Alt + F2

 

F3

End 运行代码

Alt + F3

 

F4

Recall 调回提交的代码,非增强型编辑器有效。

Alt + F11

 

F5

Wpgm

Alt + F12

 

F6

Log 日志窗口

Ctrl + B

libref 显示数据逻辑库的目录

F7

Output 结果窗口

Ctrl + D

Dir 显示数据逻辑库的目录

F8

zoom off; submit

Ctrl + E

Clear 清除当前窗口如output,log

F9

keys 默认快捷键

Ctrl + G

 

F11

command focus

Ctrl + H

Help    帮助

F12

 

Ctrl + I

Options SAS系统选项设置

Shift + F1

Subtop

Ctrl + J

 

Shift + F2

 

Ctrl + K

cut (Program Editor only)

Shift + F6

 

Ctrl + L

Log 日志窗口

Shift + F7

Left

Ctrl + M

Mark 标记,增强型编辑器不支持

Shift + F8

Right

Ctrl + Q

Filename 当前文件

Shift + F9

 

Ctrl + R

Rfind 查找

Shift + F10

Wpopup  鼠标右键

Ctrl + T

Title 标题内容

Shift + F11

 

Ctrl + U

unmark

Shift + F12

dmcopylsv

Ctrl + W

access Explorer window 资源管理器

Ctrl + F1

 

Ctrl + Y

 

Ctrl + F2

 

RMB

Wpopup 鼠标右键

Ctrl + F3

 

Shift + RMB

 

Ctrl + F11

 

Ctrl + RMB

 

Ctrl + F12

 

MMB

鼠标中键,未定义

   

Shift+ MMB

 
   

Ctrl + MMB

 

2. Keyboard Shortcuts within Print Preview

快捷键

作用

Alt + N

Next page or Page Down    翻后页

Alt + P

Previous page or Page Up   翻前页

Alt + Z

Zoom                     缩小

Alt + H

Help                      帮助文件

Alt + R

Print                      打印

Alt + C or

Alt + F4

Close the   window         关闭窗口

3. Keyboard Shortcuts within the Enhanced Editor

类别

快捷键

作用

缩写Abbreviation

这个东东很少见,目前还不知道怎么用。

Ctrl + Shift + A

Add a new abbreviation

Alt + F1 + No Selection

Bring up word tip

Esc

Hide the current word tip

代码

Code Folding

Alt + Ctrl + Number pad -

Collapse all folding blocks收缩代码块

Alt + Number pad -

Collapse current line

Alt + Ctrl + Number pad +

Expand all folding blocks 扩展代码块

Alt + Number pad +

Expand current line

Alt + Number pad *

Toggle expand current line

命令/宏支持

Command/Macro Support

Ctrl + Shift + M

Add or change macros

Ctrl + F1

Execute the last recorded macro执行最后一个记录中的宏

Alt + F8

Play a command/macro

Alt + Shift + R

Start/Complete macro

编辑

Edit

Ctrl + C

Copy selection 复制

Ctrl + X

Cut selection 剪切

Delete

Delete current character 删除

Backspace or Shift + Backspace

Delete previous character

Ctrl + Delete

Delete to next word start

Ctrl + Backspace

Delete to previous word start

Enter

Insert a carriage return

Ctrl + V

Paste from clipboard 粘贴

Ctrl + Y

Alt + Shift + Backspace

Redo

Ctrl + Z

Alt + Backspace

Undo

帮助

Help

place the insertion point within a   procedure name and press F1

Get Help for a SAS procedure

查找对应帮助主题

F1

Context Help 帮助文件

行标记

Line Markers

F2

Go to the next marked line

Shift + F2

Go to the previous marked line

Ctrl + F2

Toggle marker on the current line

导航

Navigation

Ctrl + G

Go to line (interactive)

Ctrl + Page Up

Ctrl + Home

Move cursor to the top of the file

Ctrl + Page Down

Ctrl + End

Move cursor to the bottom of the file

Down

Move cursor down

Page Down

Move cursor down a page

Left

Move cursor left

Right

Move cursor right

Home

Move cursor to beginning of line

End

Move cursor to end of line

Ctrl + [

Ctrl + ]

Move cursor to matching   brace/parentheses移动光标匹配 括号

Alt + [

Alt + ]

Move cursor to matching DO/END keyword   移动光标匹配DO/END

Alt + Right

Move cursor to next case change移动光标到下一个大小写转换处

Ctrl + Right

Move cursor to next word start

Alt + Left

Move cursor to previous case change移动光标到上一个大小写转换处

Ctrl + Left

Move cursor to previous word start

Up

Move cursor up

Page Up

Move cursor up a page

Alt + Up

Move cursor to the first visible line

Alt + Down

Move cursor to the last visible line

Ctrl + Up

Scroll screen down

Ctrl + Down

Scroll screen up

Option Setting

Insert

Toggle insert/overwrite mode

选择

Selection

Shift + Left

Extend selection character left

Shift + Right

Extend selection character right

Shift + Down

Extend selection down

Shift + Page Down

Extend selection down a page

Ctrl + Shift + Home

Ctrl + Shift + Page Up

Extend selection to beginning of document

Shift + Home

Extend selection to beginning of line

Ctrl + Shift + End

Ctrl + Shift + Page Down

Extend selection to end of document

Shift + End

Extend selection to end of line

Alt + Shift + Right

Extend selection to next case change

Alt + Shift + Left

Extend selection to previous case change

Shift + Up

Extend selection up

Shift + Page Up

Extend selection up a page

Ctrl + Shift + Left

Extend selection to previous word start

Ctrl + Shift + Right

Extend selection to the next word start

Ctrl + A

Select all 选择全部

选择操作

Selection Operations

Ctrl + Shift + W

Clean up whitespace 清除空白  

Ctrl + /

Comment the selection with line   comments   给选定代码加注释符号/**/

Ctrl + Shift + L

选定字母文本变小写

Ctrl + Shift + U

选定字母文本变大写

Tab + Selection

Tab selection

Ctrl + Shift + /

Undo the Comment   去除注释/**/

Shift + Tab + Selection

Left Tab selection

4. Keyboard Shortcuts within the SAS Main Window

类别

快捷键

作用

对话框和入口Dialog boxes and Entry Fields

Tab

move to next field

Shift + Tab

move to previous field

文本导航

Navigate around Text

Ctrl + -> (right arrow)

move to next word

Ctrl + <- (left arrow)

move to previous word

Home

move to beginning of line

End

move to end of line

Ctrl + Home

move to top 光标移到代码最前

Ctrl + End

move to bottom光标移到代码最后

Page Up

page up

Page Down

page down

Ctrl + Page Up

move to top

Ctrl + Page Down

move to bottom

Ctrl + Tab

navigate to the next open SAS window (NEXTWIND   command)

Ctrl + Shift + Tab

navigate to the previous open SAS window   (PREVWIND command)

标记文本

Mark Text

Shift + -> (right arrow)

mark while going to the right

Shift + <- (left arrow)

mark while going to the left

Shift + Home

mark to beginning of line

Shift + End

mark to end of line

Shift + Ctrl + Home

mark to top

Shift + Ctrl + End

mark to bottom

Shift + Page Up

page up and mark

Shift + Page Down

page down and mark

Shift + Ctrl + Page Up

mark to top

Shift + Ctrl + Page Down

mark to bottom

Shift + MB1

extend the current marked text selection to the   click position

剪切,复制,粘贴

Cut, Copy, and Paste

Delete

delete the next character (or marked text)

Ctrl + Delete

delete from the insertion point position to the   end of the current word

Ctrl + Backspace

delete from the insertion point position to the   start of the current word

Ctrl + MB1

selects the entire line (clicked line)

Ctrl + Z

undo previous action

Ctrl + X

cut selected text 剪切代码

Ctrl + C

copy selected text to   paste buffer复制

Ctrl + V

paste text  粘贴

窗口控制

Window Control

Alt

switch focus to or from the main menu bar

Shift + F5

cascade the windows

Shift + F4

tile the windows vertically

Shift + F3

tile the windows horizontally

Ctrl + F6

next window 激活下一个窗口

Alt + F4

exit SAS 离开SAS系统

Ctrl + F4

close the active window

Shift + F10

open context menu

Resizing the Docking View

Alt + W + S

start docking view resizing

 

-> (right arrow)

move the split bar a small amount to the right

 

<- (left arrow)

move the split bar a small amount to the right

 

Ctrl + -> (right arrow)

move the split bar a larger amount to the right

 

Ctrl + <- (left arrow)

move the split bar a larger amount to the left

 

Home

move the split bar all the way to the left

 

End

move the split bar all the way to the right

 

Return

accept the current size of the docking view and exit docking view resizing

 

Esc

end docking view resizing without resizing the   docking view

杂项

Miscellaneous

Alt + Enter

open the Properties dialog box for a selected   object. This command is valid only in a Tree view or a List view.

Esc + letter (or number)

color or highlighting attributes in NOTEPAD   window

上一篇:Windows系统中监控文件复制操作的几种方式


下一篇:WPF中控制窗口显示位置的三种方式