Archive

Archive for the ‘short-cut’ Category

Delphi Short Cuts

May 30th, 2009 sadegh No comments

Last night i started using delphi again , but this time delphi 2009
Its a really speedy and light weight IDE in comparison to Visual Studio
But i dont like its code editor , specially delphi color highlight and becoz i use ViEmu in visual studio , i really missed it when i started coding in delphi so i googled and i found some good Delphi short-cuts which you can use :

  1. ESC selects the parent control of the current selected control in the designer.
  2. Ctrl+Drag the mouse to select a group of controls without selecting/moving the parent. When controls are in a panel for example.
  3. Shift+Arrows to resize controls.
  4. Ctrl+Arrows to move controls.
  5. CTRL+SHIFT+I indents selected code CTRL+SHIFT+U unindents selected code
  6. CTRL+K+N converts the selection to UPPERCASE CTRL+K+O to convert it to lowercase
  7. CTRL-J invokes live templates
  8. CTRL + Shift + C generates method header from body description and vice-versa.
  9. CTRL + Shift + Space gives a hint with method signature when editing a method call
  10. Ctrl-Shift-0 .. Ctrl-Shift-9 sets marker (or clears if caret is in marked line)
  11. Ctrl-0 .. Ctrl-0 jumps to marker
  12. Ctrl-Shift-Enter finds references for current symbol (where caret is) in the project
  13. CTRL+SHIFT+G to generate / insert a new GUID at the cursor position
  14. CTRL+ALT+P to activate Pallete Window and do component filtering depend on the text you entered
  15. Press Ctrl+Shift+R to begin recording a macro.
  16. To play back the macro, press Ctrl+Shift+P.
  17. Ctrl-Shift + Up/Down jumps between declaration and implementation of a routine
  18. Alt+End: to navigate through opened windows in the IDE (undocked view).
  19. Ctlr+Y: to delete the current line
  20. Alt+Up: same as Ctrl+Click or Find declaration
  21. Alt+Arrow Left/Right: navigate through your ‘Find declarations’
  22. Ctrl + Alt + F12 opens up the top-right dropdown menu of opened units
  23. CTRL+SHIFT+V - Declare variable
  24. CTRL+SHIFT+E - Rename identifier
  25. CTRL-E for “search-as you type”

Categories: delphi, short-cut Tags: