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