Delphi Common Shortcut keys

Source: Internet
Author: User

It is highly recommended to install Cnpack

Ctrl+shift+c write a statement or fill in a function
Ctrl+shift+↑ (↓) within a procedure, function, event, can jump to the corresponding process, function, event definition

Ctrl+shift+g Insert GUID
Ctrl+j (Popup The Delphi Statement Prompt window, select the desired statement will automatically complete a statement)
Ctrl+k+e (F) identifier becomes smaller (large) write
Ctrl+k+o (N) selected smaller (large) write

Ctrl+shift+i (U) code block move right (shift left) 2 spaces
ALT + left mouse button to block the code, to remove the alignment of the duplicate code is very useful
Ctrl+f7 Calculation window
Ctrl+alt+w Open Wathchlist List
Ctrl+f5 Increase Wathchlist
Shift+f8 Popup when debugging


Ctrl+y Delete cursor Line
ALT+F11 Use a unit
Shitf+f11 adding units
shitf+ Arrow Select text

SHIFT+CTRL+F11 Project Options
Shift+alt+f11 Object TreeView
SHIFT/CTRL+F12 Open unit/project file

shift+ left mouse button multiple selection
CTRL + ARROW key move

CTRL+F9 Builder
F5 Breakpoint
F9 Run

F11 Property
F8 Single Step Commissioning
F7 Single-Step debugging (entering function interior)
F4 Run to Cursor
F3 Search Next

Ctrl+f Find (Ctrl+tab toggle entire Project Search)
Ctrl+r replacement

alt+0 Windows list switch
ctrl+/Comment/Uncomment


Settings for Cnpack

Remove the Arabic numerals in front of the component
Settings-"tab order Setup Tool-" Settings-"Remove the" tab order to show controls on a form "tick.

Remove component Prefix name
Open delphi->cnpack menu, settings, expert settings, select Component Selection Tools, click Advanced, select Advanced tabpage-> Find component prefixes expert

, remove the front tick.

The text under the ADO component is missing.
Tools>environment Options>designer>show Component Caption


This article is from the "Imagine the Sky" blog, please be sure to keep this source http://kinwar.blog.51cto.com/3723399/1635787

Delphi Common Shortcut keys

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.