CnPack Forum


 
Subject: Delphi IDE 缺省快捷键
kendling (小冬)
高级版主
Rank: 8Rank: 8
MyvNet


Medal No.1  
UID 703
Digest Posts 5
Credits 978
Posts 580
点点分 978
Reading Access 101
Registered 2005-2-18
Location 广东
Status Offline
Post at 2008-6-7 14:20  Profile | Site | Blog | P.M.  | QQ | Yahoo!
Delphi IDE 缺省快捷键

那天是谁在群里问有没有一个Delphi缺省快捷键的列表,今天想起以前在Borland网站上见过。我把它收集到BLOG里了,有兴趣的朋友可以去看看。
    里面除了快捷键外还有一些Delphi的技巧。

就老大的建议,全贴过来了,原帖:http://myvnet.com/article.asp?id=65

    从Borland网站上找到的快捷键列表,这里列出的快捷键应该是比较全的,另外还有一些有关Delphi的技巧,到这个网站去看:http://bdn1.borland.com/article/borcon/files/3010/slides/3010_files/frame.htm
                Ctrl+F 进行搜索            快捷键            描述            IDE 版本                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        
EscapeSelects parent control in design mode. Left mouse click + Escape drags the parent controlDelphi 2 and up
Shift + ClickAfter selecting control in form designer, click on it with Shift again to select top most parent FormDelphi 5 and up
TabIn Object Inspector activates incremental search for properties. Press again Tab to move focus to property valueDelphi 5 and up
Ctrl + JInvoke code templates also called code snippetsDelphi 5 and up
Ctrl + TDelete text from cursor position until end of wordDelphi 5 and up
Ctrl + EIncremental searchDelphi 5 and up
Ctrl + YDelete current lineDelphi 5 and up
Ctrl + BInvoke buffer window when focus is on editor. The buffer window shows a list of all different tabs.Delphi 2007 and up
Ctrl + Shift + GInsert a new GUID at the cursor positionDelphi 5 and up
Ctrl + Shift + IIndent the current selected blockDelphi 5 and up
Ctrl + Shift + UUnindent the current selected blockDelphi 5 and up
Ctrl + K + IIndent the current selected block or current line in case of no selectionDelphi 5 and up
Ctrl + K + UUnindent the current selected block or current line in case of no selectionDelphi 5 and up
Ctrl + Shift + JInvoke SyncEditBorland Developer Studio 2006
Ctrl + Shift + VAutomatically declare variable at cursor positionBorland Developer Studio 2006
Ctrl + Shift + YDelete to the end of lineDelphi 5 and up
Alt + [Match pair forwardDelphi 5 and up
Alt + ]Match pair backwardDelphi 5 and up
Alt + RightArrowBrowse forward (hotlink history)Delphi 7 and up
Alt + LeftArrowBrowse backward (hotlink history)Delphi 7 and up
Alt + UpArrowBrowse to symbol under editor cursor (invoke a hotlink and add it to the hotlink history)Borland Developer Studio 2006
F4Run program to current cursor positionDelphi 2 and up
F5Toggle breakpointDelphi 2 and up
F7Debugger step intoDelphi 2 and up
Shift - F7Trace into next source lineDelphi 5 and up
F8Debugger step overDelphi 2 and up
Shift - F8Run until returnDelphi 5 and up
F9Run program under debuggerDelphi 2 and up
Ctrl + F2Program ResetDelphi 5 and up
Ctrl + F7Evaluate/modifyDelphi 2005 and up
Ctrl + F5Add WatchDelphi 5 and up
Ctrl + F12View unitsDelphi 2 and up
Alt + GGoto line number in editorDelphi 2 and up
Ctrl + O + GGoto line number in editorDelphi 5 and up
Ctrl + Shift + RStart/stop recording editor macroDelphi 2 and up
Ctrl + Shift + PPlay editor macroDelphi 2 and up
Ctrl + SpacebarInvoke code completionDelphi 5 and up
Ctrl + Shift + SpacebarInvoke code parameter hintsDelphi 5 and up
Ctrl + EnterOpen file at cursorDelphi 2 and up
Ctrl + Shift + EnterFind all referencesDelphi 2005 and up
Ctrl + Shift + CInvoke class completion for the class that currently contains the cursorDelphi 5 and up
Ctrl + Shift + UpArrowNavigate to method implementation/declarationDelphi 5 and up
Ctrl + Shift + DownArrowNavigate to method implementation/declarationDelphi 5 and up
Ctrl + Alt + F12Opens the drop-down on the top-right corner of the code editor, listing all open filesBorland Developer Studio 2006
Ctrl + Alt + Mouse WheelNavigateto previous or next method implementation in lexical order in thissource unit, or within the class to which scope has been limited usingCtrl+Q+LBorland Developer Studio 2006
Ctrl + Alt + UpArrowNavigateto previous method implementation in lexical order in this source unit,or within the class to which scope has been limited using Ctrl+Q+LBorland Developer Studio 2006
Ctrl + Alt + DownArrowNavigateto next method implementation in lexical order in this source unit, orwithin the class to which scope has been limited using Ctrl+Q+LBorland Developer Studio 2006
Ctrl + Alt + HomeNavigateto the lexically first method implementation in this source unit, orwithin the class to which scope has been limited using Ctrl+Q+LBorland Developer Studio 2006
Ctrl + Alt + EndNavigateto the lexically last method implementation in this source unit, orwithin the class to which scope has been limited using Ctrl+Q+LBorland Developer Studio 2006
Ctrl + Alt + PActivate the Tool Palette in filtering mode (start typing, press Enter to drop component)Delphi 2005 and up
Ctrl + /Toggle comment per line or selected block, Ctrl + ' on nordic (and perhaps other international ) keyboardsDelphi 2005 and up
Ctrl + Shift + TAdd todo list itemDelphi 2005 and up
Alt + F12Toggle between Form as text mode of design modeDelphi 5 and up
Alt + F11Invoke Use unit dialogDelphi 5 and up
Ctrl + F11Invoke Open Project DialogDelphi 2005 and up
Ctrl + Alt + F11Invoke Project manager windowDelphi 2005 and up
F11Invoke Object Inspector windowDelphi 5 and up
F12Toggle between code view and design viewDelphi 5 and up
Alt + 0Invoke Window listDelphi 2005 and up
Shift + Alt + F11Invoke Structure windowDelphi 2005 and up
Ctrl + Shift + BInvoke Browser windowDelphi 5
Ctrl + Alt + BInvoke Breakpoint windowDelphi 5 and up
Ctrl + Alt + SInvoke Call Stack windowDelphi 5 and up
Ctrl + Alt + WInvoke Watches windowDelphi 5 and up
Ctrl + Alt + LInvoke Local Variables windowDelphi 5 and up
Ctrl + Alt + TInvoke Threads windowDelphi 7 and up
Ctrl + Alt + FInvoke FPU windowDelphi 2005(removed from Delphi 2006)
Ctrl + Alt + CInvoke CPU windowDelphi 5 and up
Ctrl + Alt + VInvoke Event windowDelphi 5 and up
Ctrl + Alt + MInvoke Modules windowDelphi 2005 and up
Shift + F12Invoke Forms windowDelphi 5 and up
Ctrl + Shift + AInvoke Add to uses clause(Find unit in Delphi 2006) window (Refactoring)Delphi 2005 and up
Ctrl + Shift + F11Invoke Project Options windowDelphi 2005 and up
Ctrl + F9Compile ProjectDelphi 5 and up
Shift + F9Build ProjectDelphi 5 and up
Shift + F11Invoke Add to project windowDelphi 5 and up
Shift + Ctrl + F9Run without debuggingDelphi 2005 and up
Ctrl + FFindDelphi 3 and up
Shift + Ctrl + FFind in FilesDelphi 3 and up
Alt + F7/F8Previous/next result (for Find in Files and Messages)Delphi 7 and up
Ctrl+K+EChanges a word to lowercase and deselects selectionDelphi 5 and up
Ctrl+K+FChanges a word to uppercase and deselects selectionDelphi 5 and up
Ctrl+K+OChanges a word to lowercaseDelphi 5 and up
Ctrl+K+NChanges a word to uppercaseDelphi 5 and up
Ctrl+O+UToggles caseDelphi 5 and up
Ctrl+Shift+K+OToggles Code folding between On and OffDelphi 2006 and up
Ctrl+Shift+K+ACode folding: Expands All blocks of codeDelphi 2006 and up
Ctrl+Shift+K+ECode folding: Collapse current block of codeDelphi 2006 and up
Ctrl+Shift+K+UCode folding: Expand current block of codeDelphi 2006 and up
Ctrl+Shift+K+TCode folding: Toggle Current block (expand & collapse)
Ctrl+Shift+K+RCode folding: Collapses all regions {$region 'comment'}..{$endregion}Delphi 2006 and up
Ctrl+Shift+K+PCode folding: Collapse nested procedures
Ctrl+Shift+K+MCode folding: Collapse all methods
Ctrl+Shift+K+CCode folding: Collapse all classes
Ctrl+Shift+K+GCode folding: Collapses down to primary Groups [Interface/Implementation]Delphi 2006 and up
Ctrl+Shift+K+NCode folding: Collapses Namespace/UnitDelphi 2006 and up
Ctrl+TabSwitch to the next open file in the editorDelphi 2006 and up
Ctrl+Shift+TabSwitch to the previous open file in the editorDelphi 2006 and up
Ctrl + K + PInvokes print selection dialogDelphi 5 and up
Ctrl + K + WInvokes Write block to file(selected text)Delphi 5 and up
Ctrl + K + RInvokes Read block from file(inserts text at cursor)Delphi 5 and up
Ctrl + K + CCopies selected text at the end of the selectionDelphi 5 and up
Ctrl + K + TSelect word at cursor positionDelphi 5 and up
Ctrl + O + LSelects current lineDelphi 5 and up
Ctrl + Q + LToggles between limiting the Ctrl+Alt navigation shortcuts to the current class, or limiting it to the current unitBorland Developer Studio 2006
Ctrl + Q + WGo to next item of Messages windowDelphi 5 and up
[ 本帖最后由 kendling 于 2008-6-7 16:21 编辑 ]




小冬
http://MyvNet.com
Top
bahamut8348
灌水司司长
Rank: 6Rank: 6


UID 4743
Digest Posts 14
Credits 337
Posts 79
点点分 337
Reading Access 10
Registered 2007-1-18
Status Offline
Post at 2008-6-18 20:29  Profile | Blog | P.M. 
哇靠,死冬子,中间空那么多,想做什么?
小样,有恶意刷版的嫌疑哦




做人要厚道,看帖要回贴
Top
Passion (LiuXiao)
管理员
Rank: 9Rank: 9Rank: 9


UID 359
Digest Posts 19
Credits 6756
Posts 3554
点点分 6756
Reading Access 102
Registered 2004-3-28
Status Offline
Post at 2008-6-19 08:15  Profile | Blog | P.M. 
对哇。中间空一片我还以为浏览器死了。
Top
 




All times are GMT++8, the time now is 2024-4-25 03:06

    本论坛支付平台由支付宝提供
携手打造安全诚信的交易社区 Powered by Discuz! 5.0.0  © 2001-2006 Comsenz Inc.
Processed in 0.600031 second(s), 7 queries , Gzip enabled

Clear Cookies - Contact Us - CnPack Website - Archiver - WAP