delphi中怎么实现整个选定代码块的缩进?

解决方案 »

  1.   

    ctrl+sgift+u向前
    ctrl+sgift+i缩进
      

  2.   

    ctrl+shift+u    前进
    ctrl+shift+i    后退
      

  3.   

    ctrl+shift+u向前
    ctrl+shift+i缩进
      

  4.   

    ctrl+sgift+u向前
    ctrl+sgift+i缩进
    ctrl+up
    ctrl+down  在implement 和 interface 之间切换
    ctrl+shift+c 自动生成生命函数过程代码
      

  5.   

    Shortcut Action or command    
     
    F1 Help|Topic Search  
    Ctrl+F1 Help|Topic Search  
    F3 Search|Search Again  
     
    Ctrl+E Search|Incremental Search  
    Ctrl+F Search|Find  
    Ctrl+I Inserts a tab character  
    Ctrl+j Templates pop-up menu  
    Ctrl+N Inserts a new line  
    Ctrl+P Causes next character to be interpreted as an ASCII sequence  
    Ctrl+R  Search|Replace  
    Ctrl+S File|Save  
    Ctrl+T Deletes a word  
     
    Ctrl+Y Deletes a line  
    Ctrl+Z Edit|Undo  
    Ctrl+<space bar> Code Completion pop-up window  
     
    Ctrl+Shift+g Inserts a new Globally Unique Identifier (GUID) (Delphi)  
    Ctrl+Shift+I Indents block  
    Ctrl+Shift+U Outdents block  
    Ctrl+Shift+Y Deletes to the end of a line  
    Ctrl+Shift+Z Edit|Redo  
    Ctrl+Shift+<space bar> Code Parameters pop-up window  
     
    Alt+[ Finds the matching delimiter (forward)  
    Alt+] Finds the matching delimiter (backward)  
     
    End  Moves to the end of a line  
    Home Moves to the start of a line  
    Enter Inserts a carriage return  
    Ins  Turns insert mode on/off  
    Del  Deletes the character to the right of the cursor  
    Backspace Deletes the character to the left of the cursor  
    Tab  Inserts a tab  
    Space Inserts a blank space  
    Left Arrow Moves the cursor left one column, accounting for the autoindent setting  
    Right Arrow Moves the cursor right one column, accounting for the autoindent setting  
     
    Up Arrow Moves up one line  
    Down Arrow Moves down one line  
    Page Up Moves up one page  
    Page Down Moves down one page  
     
    Ctrl+Left Arrow Moves one word left  
    Ctrl+Right Arrow Moves one word right  
    Ctrl+Tab  Moves to the next code page (or file)  
    Ctrl+Shift+Tab Moves to the previous code page (or file)  
    Ctrl+Backspace Deletes the word to the right of the cursor  
    Ctrl+Home Moves to the top of a file  
     
    Ctrl+End  Moves to the end of a file  
    Ctrl+Del  Deletes a currently selected block  
    Ctrl+Space Inserts a blank space  
    Ctrl+PgDn Moves to the bottom of a screen  
    Ctrl+PgUp Moves to the top of a screen  
    Ctrl+Up Arrow Scrolls up one line  
    Ctrl+Down Arrow Scrolls down one line  
    Ctrl+Enter Opens file at cursor  
     
    Shift+Tab  Moves the cursor to the left one tab position  
    Shift+Backspace Deletes the character to the left of the cursor  
     
    Shift+Left Arrow Selects the character to the left of the cursor  
    Shift+Right Arrow Selects the character to the right of the cursor  
    Shift+Up Arrow Moves the cursor up one line and selects from the left of the starting cursor position  
    Shift+Down Arrow Moves the cursor down one line and selects from the right of the starting cursor position  
    Shift+PgUp Moves the cursor up one screen and selects from the left of the starting cursor position  
     
    Shift+PgDn Moves the cursor down one line and selects from the right of the starting cursor position  
    Shift+End  Selects from the cursor position to the end of the current line  
    Shift+Home Selects from the cursor position to the start of the current line  
    Shift+Space Inserts a blank space  
    Shift+Enter Inserts a new line with a carriage return  
     
    Ctrl+Shift+Left Arrow Selects the word to the left of the cursor  
    Ctrl+Shift+Right Arrow Selects the word to the right of the cursor  
     
    Ctrl+Shift+Home Selects from the cursor position to the start of the current file  
    Ctrl+Shift+End  Selects from the cursor position to the end of the current file  
    Ctrl+Shift+PgDn Selects from the cursor position to the bottom of the screen  
    Ctrl+Shift+PgUp Selects from the cursor position to the top of the screen  
    Ctrl+Shift+Tab Moves to the previous page  
    Shift+Alt+arrow Selects column-oriented blocks  
    Click+Alt+mousemove Selects column-oriented blocks  
     
    Ctrl+O+C Turns on column blocking  
    Ctrl+O+K Turns off column blocking  
     
    Alt+Backspace Edit|Undo  
    Alt+Page Down Goes to the next tab  
    Alt+Page Up Goes to the previous tab  
    Alt+Shift+Backspace Edit|Redo  
    Alt+Shift+Left Arrow Selects the column to the left of the cursor  
    Alt+Shift+Right Arrow Selects the column to the right of the cursor  
    Alt+Shift+Up Arrow Moves the cursor up one line and selects the column from the left of the starting cursor position 
     
    Alt+Shift+Down Arrow Moves the cursor down one line and selects the column from the left of the starting cursor position 
    Alt+Shift+Page Up Moves the cursor up one screen and selects the column from the left of the starting cursor position 
    Alt+Shift+Page Down Moves the cursor down one line and selects the column from the right of the starting cursor position 
    Alt+Shift+End Selects the column from the cursor position to the end of the current line  
     
    Alt+Shift+Home Selects the column from the cursor position to the start of the current line  
     
    Ctrl+Alt+Shift+Left Arrow Selects the column to the left of the cursor  
    Ctrl+Alt+Shift+Right Arrow Selects the column to the right of the cursor  
    Ctrl+Alt+Shift+Home Selects the column from the cursor position to the start of the current file  
    Ctrl+Alt+Shift+End Selects the column from the cursor position to the end of the current file  
    Ctrl+Alt+Shift+Page Up Selects the column from the cursor position to the bottom of the screen  
     
    Ctrl+Alt+Shift+Page Down Selects the column from the cursor position to the top of the screen  
      

  6.   

    ctrl+shift+u向前
    ctrl+shift+i缩进
      

  7.   

     1.SHIFT+鼠标左键    先选中任一控件,按键后可选中窗体(选中控件后按Esc效果一样) 2.Shift+F8          调试时弹出CPU窗口。 3.Shift+F10         等于鼠标右键(Windows快捷键)。 4.Shitf+箭头        选择 5.shift +F12        快速查找窗体并打开 6.F7               (步进式调试同时追踪进入子过程) 7.F8               (步进式调试不进入子过程) 8.F9                运行 9.F12               切换EDITOR,FORM 10.Alt+F4           关闭所有编辑框中打开的源程序文件,但不关闭项目 11.ALT+鼠标左键      可以块选代码,用来删除对齐的重复代码非常有用 12.Ctrl+F9          编译 13.Ctrl+shift+N(n=1,2,3,4......)  定义书签 14.Ctrl+n(n=1,2,3,4......)跳到书签n 15.CTRL +SHIFT+N    在书签N处,再按一次 取消书签 16.Ctrl+PageUp      将光标移至本屏的第一行,屏幕不滚动 17.Ctrl+PageDown    将光标移至本屏的最后一行,屏幕不滚动 18.Ctrl+↓          向下滚动屏幕,光标跟随滚动不出本屏 19.Ctrl+↑          向上滚动屏幕,光标跟随滚动不出本屏 20.Ctrl+Home        将光标移至文件头 21.Ctrl+End         将光标移至文件尾 22.Ctrl+B           Buffer List窗口 23.Ctrl+I           同Tab键 24.CTRL+J           (弹出Delphi语句提示窗口,选择所需语句将自动完成一条语句)代码模板 25.Ctrl+M           同Enter键。 26.Ctrl+N           同Enter键,但光标位置保持不变 27.Ctrl+T           删除光标右边的一个单词 28.Ctrl+Y           删除光标所在行 29.CTRL+C           复制 30.CTRL+V           粘贴 31.CTRL+X           剪切 32.CTRL+Z           还原(Undo) 33.CTRL+S           保存 34.Ctrl+F           查找 35.Ctrl+L           继续查找 36.Ctrl+r           替换 37.CTRL+ENTER       定位到单元文件 38.Ctrl+F3          弹出Call Stack窗口 39.Ctrl+F4          等于File菜单中的Close项 40.Ctrl+Backspace   后退删除一个词,直到遇到一个分割符 41.Ctrl+鼠标转轮    加速滚屏 42.Ctrl+O+U         切换选择块的大小写(注意松开O后再按U,Ctrl保持按下) 43.Ctrl+K+O         切换选择块为小写(注意松开K后再按O,Ctrl保持按下) 44.Ctrl+K+N         切换选择块为大写(注意松开K后再按N,Ctrl保持按下) 45.Ctrl+Shift+G     插入GUID 46.Ctrl+Shift+T     在光标行加入To-Do注释 47.Ctrl+Shift+Y     删除光标之后至本行末尾之间的文本 48.CTRL+SHIFT+C     编写申明或者补上函数,绝好!!! 49.CTRL+SHIFT+E     显示EXPLORER 50.Ctrl+Tab         在Inspector中切换Properties页和Events页 51.CTRL+SHIFT+U     代码整块左移2个空格位置 52.CTRL+SHIFT+I     代码整块右移2个空格位置 53.CTRL+SHIFT+↑    在过程、函数、事件内部, 可跳跃到相应的过程、函数、事                     件的定义(在interface和implementation之间来回切换) 54.CTRL+SHIFT+↓    在过程、函数、事件的定义处, 可跳跃到具体过程、函数、事件内部(同上) 55.Tab              在object inspector窗口按tab键将光标移动到属性名区,然后键入属性名的开头                     字母可快速定位到该属性 56.Ctrl+Alt         按着Ctrl+Alt之后,可用鼠标选择一个矩形块中的代码,                     并可比它进行复制,粘贴 57.Shift+↓、↑、→、← 以1像素单位更改所选控件大小 58.Ctrl+↓、↑、→、←以1像素单位更改所选控件位置 59.Ctrl+E           快速选择(呵呵,试试吧,很好玩的)                                                          ---------GExperts中--------- 60.Ctrl+Alt+c       注释块 61.Ctrl+Alt+u       取消注释块 62.Ctrl+Alt+h       生成头(更详细的设置在GExperts配置的Editor Experts属性页) 63.Ctrl+Alt+o       选择对应分隔符之间的语句 64.Ctrl+Alt+v       在对应的分隔符之间来回跳转(与已有快捷键有冲突,请更改) -------------------------------------------------------------------------- 65、将鼠标指向变量名、单元名、类名,再用 CTRL+鼠标左键 可找到相应的说明 66、CTRL+ SHIFT + C 编写申明或者补上函数.                     如:                     procedure TT.A(AA: string);  //函数申明                     安下:CTRL+ SHIFT + C后,会写上                     procedure TT.A(AA: string);                     begin                     end; 67、ALT+鼠标左键可以块选代码,删除对齐的重复代码非常有用。 68、Ctrl+shift+G  产生一个GUID号