Delphi IDE Hidden Shortcuts

The Delphi IDE has a lot of useful shortcuts that are not shown in the menu and are not listed in the Help or are hard to find in it. Here is a list of the shortcuts that I have found information about.

Creating unique GUIDs (for COM)
Keyboard layouts: Default, BRIEF emulation, Epsilon emulation, IDE Classic, New IDE Classic.
Ctrl+Shift+G - generates a unique GUID.
Keystroke recording (Delphi 2+)
Keyboard layouts: Default, IDE Classic, Visual Studio emulation,
New IDE Classic.
If you write a lot of code and the code is the same code
all the time, you probably have come across a situation where it would be easier
to record some keystrokes and play them back a number of times. You can now do
this in the Delphi IDE by pressing Ctrl+Shift+R to start recording, type
in the keystrokes you want repeated, and press Ctrl+Shift+R to stop recording.
To play back, press Ctrl+Shift+P. When recording the editor status bar will
show: recording. The New IDE Classic keyboard layout offers keystroke
macro saving. After you press Ctrl+Shift+R to stop recording a dialog window
will show and prompt to save the keystroke to a file.
Note: This only works in the code editor. Keystroke
macros do not work in the form editor. This function is in Delphi 2 and higher.
Moving/resizing components in IDE without the mouse
Keyboard layouts: All
Ctrl+Arrow Key - move visual components on a form.
Shift+Arrow Key - resize visual components on a form.
Navigation in the visual designer
Keyboard layouts: All
Esc - make the selection move from the currently selected
control to it’s parent control?
Set the selected text to upper case/lower case
Keyboard layouts: Default, IDE Classic, Visual Studio emulation,
New IDE Classic.
Ctrl+K O - lower case
Ctrl+K N - upper case
Troubleshooting the IDE (Delphi 4)
Keyboard layouts: Default
Ctrl-Alt-E - Delphi 4 opens an event log window.

Tags: , , , , , , , , , , , , , , ,

No Comments Yet

You can be the first to comment!

Leave a comment

OpenID Login

Standard Login