Shift + Click Tab Ctrl + J
Ctrl + T Ctrl + E Ctrl + Y
Ctrl + B
Ctrl + Shift + G Ctrl + Shift + I
Ctrl + Shift + U Ctrl + K + I
Ctrl + K + U
Ctrl + Shift + J
Ctrl + Shift + V
描述 IDE 版本 Selects parent control in design mode. Left
mouse click + Escape drags the parent control Delphi 2 and up
After selecting control in form designer, click
on it with Shift again to select top most parent Delphi 5 and up Form
In Object Inspector activates incremental
search for properties. Press again Tab to Delphi 5 and up
move focus to property value
Invoke code templates also called code snippets
Delphi 5 and up
Delete text from cursor position until end of word
Delphi 5 and up Incremental searchDelphi 5 and up Delete current line
Delphi 5 and up
Invoke buffer window when focus is on editor.
The buffer window shows a list of all different
Delphi 2007 and
tabs.
up
Insert a new GUID at the cursor position Delphi 5 and up Indent the current selected block
Delphi 5 and up Unindent the current selected block Delphi 5 and up Indent the current selected block or current line in case of no selection
Delphi 5 and up
Unindent the current selected block or current
line in case of no selection Delphi 5 and up
Invoke SyncEdit
Borland Developer Studio 2006 Automatically declare variable at cursor Borland Developer position
Studio 2006
Ctrl + Shift + Y Delete to the end of line Alt + [ Alt + ]
Match pair forward Match pair backward
Delphi 5 and up Delphi 5 and up Delphi 5 and up Delphi 7 and up Delphi 7 and up
Alt + RightArrow Browse forward (hotlink history) Alt + LeftArrow Browse backward (hotlink history)
Alt + UpArrow F4 F5 F7 Shift - F7 F8 Shift - F8 F9 Ctrl + F2 Ctrl + F7 Ctrl + F5 Ctrl + F12 Alt + G Ctrl + O + G
Ctrl + Shift + R Ctrl + Shift + P Ctrl + Spacebar Ctrl + Shift + Spacebar Ctrl + Enter Ctrl + Shift +
Browse to symbol under editor cursor (invoke Borland Developer a hotlink and add it to the hotlink history) Studio 2006 Run program to current cursor position Delphi 2 and up Toggle breakpoint Delphi 2 and up Debugger step into Delphi 2 and up Trace into next source line Delphi 5 and up Debugger step over Delphi 2 and up Run until return
Delphi 5 and up Run program under debugger Delphi 2 and up Program Reset Delphi 5 and up Evaluate/modify Delphi 2005 and up
Add Watch Delphi 5 and up View units
Delphi 2 and up Goto line number in editor Delphi 2 and up Goto line number in editor
Delphi 5 and up Start/stop recording editor macro Delphi 2 and up Play editor macro Delphi 2 and up Invoke code completion Delphi 5 and up Invoke code parameter hints Delphi 5 and up Open file at cursor Delphi 2 and up Find all references
Delphi 2005 and
Enter
Ctrl + Shift + C Ctrl + Shift + UpArrow Ctrl + Shift + DownArrow Ctrl + Alt + F12
Invoke class completion for the class that currently contains the cursor Navigate to method implementation/declaration Navigate to method implementation/declaration
up
Delphi 5 and up
Delphi 5 and up
Delphi 5 and up
Opens the drop-down on the top-right corner Borland Developer of the code editor, listing all open files Navigate to previous or next method
Studio 2006
Ctrl + Alt + Mouse Wheel
implementation in lexical order in this source Borland Developer unit, or within the class to which scope has been limited using Ctrl+Q+L
Navigate to previous method implementation
Studio 2006
Ctrl + Alt + UpArrow
in lexical order in this source unit, or within Borland Developer the class to which scope has been limited using Ctrl+Q+L
Navigate to next method implementation in
Studio 2006
Ctrl + Alt + DownArrow
lexical order in this source unit, or within the Borland Developer class to which scope has been limited using Studio 2006 Ctrl+Q+L
Navigate to the lexically first method
implementation in this source unit, or within Borland Developer
Ctrl + Alt + Home
the class to which scope has been limited Studio 2006
using Ctrl+Q+L
Navigate to the lexically last method
Ctrl + Alt + End
implementation in this source unit, or within Borland Developer the class to which scope has been limited using Ctrl+Q+L
Ctrl + Alt + P
Activate the Tool Palette in filtering mode
Delphi 2005 and Studio 2006
(start typing, press Enter to drop component) up Toggle comment per line or selected block,
Ctrl + /
Ctrl + ' on nordic (and perhaps other international ) keyboards
Ctrl + Shift + T Add todo list item
Toggle between Form as text mode of design mode
Invoke Use unit dialog Invoke Open Project Dialog
Delphi 2005 and up
Delphi 2005 and up
Delphi 5 and up Delphi 5 and up Delphi 2005 and up
Delphi 2005 and up
Delphi 5 and up Delphi 5 and up Delphi 2005 and up
Delphi 2005 and up Delphi 5 Delphi 5 and up Delphi 5 and up Delphi 5 and up Delphi 5 and up Delphi 7 and up Delphi
Ctrl + Alt + F
Invoke FPU window
2005(removed from Delphi 2006)
Ctrl + Alt + C
Invoke CPU window
Delphi 5 and up
Alt + F12 Alt + F11 Ctrl + F11
Ctrl + Alt + F11 Invoke Project manager window F11 F12 Alt + 0
Invoke Object Inspector window
Toggle between code view and design view Invoke Window list
Shift + Alt + F11 Invoke Structure window Ctrl + Shift + B Invoke Browser window Ctrl + Alt + B Ctrl + Alt + S Ctrl + Alt + W Ctrl + Alt + L Ctrl + Alt + T
Invoke Breakpoint window Invoke Call Stack window Invoke Watches window Invoke Local Variables window Invoke Threads window
Ctrl + Alt + V Ctrl + Alt + M Shift + F12 Invoke Event window Invoke Modules window Invoke Forms window
Delphi 5 and up Delphi 2005 and up
Delphi 5 and up
Invoke Add to uses clause(Find unit in Delphi Delphi 2005 and Ctrl + Shift + A
2006) window (Refactoring)
Ctrl + Shift + F11 Invoke Project Options window Ctrl + F9 Compile Project Shift + F9 Build Project
Shift + F11
Invoke Add to project window
Shift + Ctrl + F9 Run without debugging Ctrl + F
Find
Shift + Ctrl + F Find in Files Alt + F7/F8
Previous/next result (for Find in Files and Messages)
Ctrl+K+E Changes a word to lowercase and deselects selection
Ctrl+K+F Changes a word to uppercase and deselects selection
Ctrl+K+O Changes a word to lowercase Ctrl+K+N Changes a word to uppercase Ctrl+O+U
Toggles case
Ctrl+Shift+K+O Toggles Code folding between On and Off
Ctrl+Shift+K+A Code folding: Expands All blocks of code
Ctrl+Shift+K+E Code folding: Collapse current block of code up
Delphi 2005 and up
Delphi 5 and up Delphi 5 and up Delphi 5 and up Delphi 2005 and up
Delphi 3 and up Delphi 3 and up Delphi 7 and up
Delphi 5 and up
Delphi 5 and up Delphi 5 and up Delphi 5 and up Delphi 5 and up Delphi 2006 and up
Delphi 2006 and up
Delphi 2006 and
up
Ctrl+Shift+K+U Code folding: Expand current block of code
Delphi 2006 and up
Code folding: Toggle Current block (expand &
Ctrl+Shift+K+T
Ctrl+Shift+K+R
Ctrl+Shift+K+P Ctrl+Shift+K+M Ctrl+Shift+K+C Ctrl+Shift+K+G
Ctrl+Shift+K+N Ctrl+Tab Ctrl+Shift+Tab Ctrl + K + P Ctrl + K + W Ctrl + K + R Ctrl + K + C Ctrl + K + T Ctrl + O + L
Ctrl + Q + L Ctrl + Q + W collapse) Code folding: Collapses all regions {$region Delphi 2006 and 'comment'}..{$endregion}
up Code folding: Collapse nested procedures Code folding: Collapse all methods Code folding: Collapse all classes
Code folding: Collapses down to primary Delphi 2006 and Groups [Interface/Implementation]
up
Code folding: Collapses Namespace/Unit
Delphi 2006 and up
Switch to the next open file in the editor
Delphi 2006 and up
Switch to the previous open file in the editor Delphi 2006 and up
Invokes print selection dialog
Delphi 5 and up Invokes Write block to file(selected text) Delphi 5 and up Invokes Read block from file(inserts text at cursor)
Delphi 5 and up
Copies selected text at the end of the selection Delphi 5 and up Select word at cursor position Delphi 5 and up Selects current line
Delphi 5 and up Toggles between limiting the Ctrl+Alt
navigation shortcuts to the current class, or Borland Developer limiting it to the current unit
Studio 2006 Go to next item of Messages window
Delphi 5 and up
Ctrl+PageUp 将光标移至本屏的第一行,屏幕不滚动。 Ctrl+PageDown 将光标移至本屏的最后一行,屏幕不滚动。 Ctrl+↓ 向下滚动屏幕,光标跟随滚动不出本屏。 Ctrl+↑ 向上滚动屏幕,光标跟随滚动不出本屏。
Ctrl+Shift+NUM 在光标行设置最多九个临时标志号,对临时切换非常有用。行的左边将出现一本书,封面有NUM,再按一次取消设置。
Ctrl+NUM 直接将光标跳到NUM处,NUM是用Ctrl+Shift+NUM设置的标号。 NUM不能用小键盘。
Ctrl+Home 将光标移至文件头。 Ctrl+End 将光标移至文件尾。 Ctrl+B Buffer List窗口。 Ctrl+I 同Tab键。 Ctrl+M 同Enter键。
Ctrl+N 同Enter键,但光标位置保持不变。 Ctrl+T 删除光标右边的一个单词。 Ctrl+Y 删除光标所在行。
Ctrl+Shift+↑ 光标在函数体内时,将光标快速移至当前函数声明处。 Ctrl+Shift+↓ 光标在函数声明行时,将光标快速移至函数定义处。
Ctrl+Shift+C 声明一个过程或函数后,直接生成过程或函数的名称、begin、end; Ctrl+Shift+E 光标在Edit窗口和Explorer窗口间切换。 Ctrl+Shift+G 插入GUID。
Ctrl+Shift+J 弹出Delphi语句提示窗口,选择所需语句将自动完成一条语句。 Ctrl+Shift+T 在光标行加入To-Do注释。
Ctrl+Shift+Y 删除光标之后至本行末尾之间的文本。
Ctrl+F3 Call Stack窗口。
Ctrl+F4 等于File菜单中的Close项。
Ctrl+鼠标转轮 加速滚屏。
Shift+F8 调试时弹出CPU窗口。
Shift+F10 等于鼠标右键(Windows快捷键)。
Alt+F4 关闭所有编辑框中打开的源程序文件,但不关闭项目。
设置Code Insight 模板,begin...end,以后只要输入be,然后按ctrl+j就可以匹配begin,end;但是从begin到相应的end,就不知道了,匹配括号之类的可以用alt+[,Alt+]
搜索editor keyboard shortcuts可能可以找到,你自己看帮助吧。
在编程序时 unit 右键菜单的properties /Code Insight 设置你喜欢的任何东东 ctr+j即可。
DELPHI IDE中部分操作快捷方式(大部分在Delphi 5.0的菜单中找不到,其中有一些还是非常有用的)
1 代码模板:CTRL+J
2 代码整块移动:CTRL+SHIFT+I(右移) CTRL+SHIFT+U(左移)
3 选中窗体 : 先选中任一控件,SHIFT+鼠标左键
4 将鼠标指向变量名、单元名、类名,再用 CTRL+鼠标左键 可找到相应的说明
5 在过程、函数、事件内部, SHIFT+CTRL+向上的方向键 可跳跃到相应的过程、函数、事件的定义
6 相反,在过程、函数、事件的定义处,SHIFT+CTRL+向下的方向键 可跳跃到具体过程、函数、事件内部
7 CTRL+ SHIFT + C:编写申明或者补上函数
8 SHIFT+CTRL+E 显示 EXPLORER
9 Ctrl+ shift + n (n=1,2,3,4......)定义书签
10 Ctrl+ n (n=1,2,3,4......)跳到书签n
11 ALT+鼠标左键可以块选代码,删除对齐的重复代码非常有用
12 Ctrl+PageUp 将光标移至本屏的第一行,屏幕不滚动。
13 Ctrl+PageDown 将光标移至本屏的最后一行,屏幕不滚动。
14 Ctrl+↓ 向下滚动屏幕,光标跟随滚动不出本屏。
15 Ctrl+↑ 向上滚动屏幕,光标跟随滚动不出本屏。
16 Ctrl+Home 将光标移至文件头。
17 Ctrl+End 将光标移至文件尾。
18 Ctrl+B Buffer List窗口。
19 Ctrl+I 同Tab键。
20 Ctrl+M 同Enter键。
21 Ctrl+N 同Enter键,但光标位置保持不变。
22 Ctrl+T 删除光标右边的一个单词。
23 Ctrl+Y 删除光标所在行。
24 Ctrl+Shift+↑ 光标在函数体内时,将光标快速移至当前函数声明处。
25 Ctrl+Shift+↓ 光标在函数声明行时,将光标快速移至函数定义处。
26 Ctrl+Shift+C 声明一个过程或函数后,直接生成过程或函数的名称、begin、end;
27 Ctrl+Shift+E 光标在Edit窗口和Explorer窗口间切换。
28 Ctrl+Shift+G 插入GUID。
29 Ctrl+Shift+J 弹出Delphi语句提示窗口,选择所需语句将自动完成一条语句。
30 Ctrl+Shift+T 在光标行加入To-Do注释。
31 Ctrl+Shift+Y 删除光标之后至本行末尾之间的文本。
32 Ctrl+F3 Call Stack窗口。
33 Ctrl+F4 等于File菜单中的Close项。
34 Ctrl+鼠标转轮 加速滚屏。
35 Shift+F8 调试时弹出CPU窗口。
36 Shift+F10 等于鼠标右键(Windows快捷键)。
37 Alt+F4 关闭所有编辑框中打开的源程序文件,但不关闭项目
因篇幅问题不能全部显示,请点此查看更多更全内容
Copyright © 2019- baijiahaobaidu.com 版权所有 湘ICP备2023023988号-9
违法及侵权请联系:TEL:199 18 7713 E-MAIL:2724546146@qq.com
本站由北京市万商天勤律师事务所王兴未律师提供法律服务