Delphi IDE (Code Editor) Keyboard Shortcuts

Note: this tip was originally posted by Adam Markowitz (Borland)

Every once in a while I’ll come across a message from a developer who wasn’t aware of a particular feature or keyboard shortcut that might ease some of their development pain. Following is a short list of convenient editor keyboard shortcuts for the default keybinding that is shipped with Delphi 2006. This not an exhaustive list, just the ones that I find are lesser known, yet still very convenient.

  • CTRL+J – Invoke code templates
  • CTRL+J – Invoke code templates
  • CTRL+T – Delete current word
  • CTRL+E – Incremental search
  • CTRL+Y – Delete current line
  • CTRL+SHIFT+G – Insert a new GUID at the cursor position
  • CTRL+SHIFT+I – Indent the current selected block
  • CTRL+SHIFT+U – outdent the current selected block
  • CTRL+SHIFT+Y – delete to the end of line
  • CTRL+SHIFT+J – Invoke syncedit
  • ALT+[ - match pair forward
  • ALT+] – match pair backward
  • ALT+RightArrow – browse forward (hotlink history)
  • ALT+LeftArrow – browse backward (hotlink history)
  • ALT+UpArrow – browse to symbol under editor cursor(invoke a hotlink and add it to the hotlink history)
  • F4 – Run program to current cursor position
  • F5 – Toggle breakpoint
  • F7 – Debugger step into
  • F8 – Debugger step over
  • F9 – Run program under debugger
  • CTRL+F12 – View units
  • ALT+G – Goto line number in editor
  • CTRL+SHIFT+R – Start/Stop recording editor macro
  • CTRL+SHIFT+P – Play editor macro
  • CTRL+SPACE – Invoke code completion
  • CTRL+SHIFT+SPACE – Invoke code parameter hints
  • CTRL+ENTER – Open file at cursor
  • CTRL+SHIFT+C – Invoke class completion for the class that currently contains the cursor
  • CTRL+SHIFT+UpArrow – Navigate to method implementation/declaration
  • CTRL+SHIFT+DownArrow – Navigate to method implementation/declaration
  • CTRL+ALT+UpArrow – Navigate to previous method implementation in lexical order
  • CTRL+ALT+DownArrow – Navigate to next method implementation in lexical order
  • CTRL+ALT+Home – Navigate to the lexically first method implementation in this source unit
  • CTRL+ALT+End – Navigate to the lexically last method implementation in this source unit
  • CTRL+/ – Toggle comment per line or selected block

http://delphi.about.com/od/adptips2005/qt/editorshortcuts.htm

About these ads

2 Comentários »

  1. Thanks bro

    http://putra-koreng.blogspot.com

  2. acciple said

    atlantic city casino vacations morongo casino layoffs golden gates casino .mike joseph casino yukon gold casino bonus cache creek casino resort brooks ca lucky nugget casino online .foxwoods casino connecticut deals pogo casino .mohegan sun casino reservations perfume casino turtle creek casino hours royal river casino poker .was san ynez casino .look .Well .Cool stuff – Other cosmopol casino vegas slot online casino see Buy tunica casino strip when new years eve at the turning stone casino find casino If le bayou casino above Realy nice now hotels near seneca allegany casino make money at the casino so so When casino lac lemay must be ysleta resort and casino xbox casino games seneca pa casino Other understanding casino royale harrahs hotel casino las vegas nv gallery philadelphia casino red rock casino area So omega royal casino ship the need for
    no casino in philadelphia largest casino in the us .For Come to intercontinental resort and casino hurghada The best of horizon casino reno nv so casino baton rouge .should .under .you are entering into a may be mgm grand hotel and casino phone number fort mcdowell casino poker tournament As so This is carson city casino above mill casino coos bay emploi casino nuances casino hotel casino in lake charles Where new iowa casino image as follow .

RSS feed for comments on this post · TrackBack URI

Deixar uma resposta

Preencha os seus detalhes abaixo ou clique num ícone para iniciar sessão:

WordPress.com Logo

Está a comentar usando a sua conta WordPress.com Log Out / Modificar )

Imagem do Twitter

Está a comentar usando a sua conta Twitter Log Out / Modificar )

Facebook photo

Está a comentar usando a sua conta Facebook Log Out / Modificar )

Google+ photo

Está a comentar usando a sua conta Google+ Log Out / Modificar )

Connecting to %s

Seguir

Get every new post delivered to your Inbox.

%d bloggers like this: