1. Shift + left mouse click first select any control, and then select the middle form (select the control and Press ESC for the same effect)
2. the CPU window is displayed during Shift + F8 debugging.
3. Shift + F10 equals to right-click (windows shortcut ).
4. Select shitf + arrow
5. Shift + F12 quickly search for the form and open it
6. F7 (step-by-step debugging simultaneously tracks sub-processes)
7. F8 (step-by-step debugging does not enter the sub-process)
8. Run F9
9. F12 switch editor and form
10. Alt + F4 close the source program files opened in all edit boxes, but do not close the project
11. Alt + the left mouse button can be used to select code blocks. It is very useful to delete duplicate code alignment.
12. CTRL + F9 Compilation
13. CTRL + Shift + n (n = 1, 2, 3, 4 ......) define bookmarks
14. CTRL + n (n = 1, 2, 3, 4 ......) Jump to the bookmarks n
15. CTRL + Shift + N place at bookmark N, and then click Cancel again
16. CTRL + Pageup move the cursor to the first line of the screen without scrolling
17. CTRL + Pagedown move the cursor to the last line of the screen without scrolling
18. CTRL + ← scroll down the screen, and the cursor cannot scroll out of the screen
19. CTRL + ← scroll up the screen, and the cursor cannot scroll out of the screen
20. CTRL + home move the cursor to the file header
21. CTRL + end move the cursor to the end of the file
22. CTRL + bbufferlist window
23. CTRL + I same as the tab key
24. CTRL + J (the prompt window for Delphi statements is displayed, and selecting a required statement will automatically complete a statement) Code Template
25. CTRL + m are the same as the Enter key.
26. CTRL + n is the same as the Enter key, but the cursor position remains unchanged.
27. CTRL + T delete a word on the right of the cursor
28. CTRL + y Delete the row where the cursor is located
29. CTRL + C copy
30. Press Ctrl + V to paste
31. CTRL + x cut
32. CTRL + z restore (UNDO)
33. CTRL + S save
34. CTRL + F search
35. CTRL + l continue searching
36. CTRL + R replace
37. CTRL + enter locate the cell File
38. CTRL + F3 pop-up callstack window
39. CTRL + F4 equals to the close item in the File menu
40. Press Ctrl + backspace to delete a word until a separator is encountered.
41. CTRL + mouse wheel Acceleration
42. CTRL + O + u Switch the case sensitivity of the selected block (note that after the O is released, press u, and press Ctrl to keep it pressed)
43. Press Ctrl + K + O to switch the selected block to lower case (note that after the k is released, press O, and press Ctrl to keep it pressed)
44. Press Ctrl + K + n to switch the selected block to uppercase (note that after the k is released, press N, and press Ctrl to keep it pressed)
45. CTRL + Shift + G insert guid
46. CTRL + Shift + t add the to-do comment to the cursor line
47. CTRL + Shift + y delete text between the cursor and the end of the row
48. CTRL + Shift + C. It's great to write a statement or add a function !!!
49. CTRL + Shift + e show Explorer
50. CTRL + TAB switch the properties page and Events page in Inspector
51. CTRL + Shift + u move the entire code block left by two spaces
52. CTRL + Shift + I shift the entire block right by two spaces
53. CTRL + Shift + within processes, functions, and events, you can jump to corresponding processes, functions, and events.
Definition of parts (switch back and forth between interface and implementation)
54. In terms of process, function, and event definition, CTRL + Shift + cursor can jump to a specific process, function, or event (same as above)
55. In the objectinspector window, press the tab key to move the cursor to the attribute name area, and enter the beginning of the attribute name.
This attribute can be quickly located with letters.
56. Press CTRL + ALT and press CTRL + ALT to select the code in a rectangle with the mouse,
And copy and paste it.
57. Shift + rotate, rotate, →, rotate change the size of the selected control in 1 pixel
58. CTRL + ←, ←, →, ← change the position of the selected control in 1 pixel
59. CTRL + e quick selection (haha, try it, it's fun)
--------- In gexperts ---------
60. CTRL + ALT + C comments
61. CTRL + ALT + u uncomment Block
62. CTRL + ALT + H generate the header (more detailed settings are on the editorexperts attribute page of gexperts configuration)
63. CTRL + ALT + O select the statement between the corresponding Separators
64. CTRL + ALT + V jump back and forth between the corresponding separator (conflicts with existing shortcuts, please change)
--------------------------------------------------------------------------
65. Point the cursor to the variable name, unit name, and class name, and then press Ctrl + the left mouse button to find the corresponding description.
66. Press Ctrl + Shift + C to write a statement or add a function.
For example:
Procedurett. A (AA: string); // function declaration
Run Ctrl + Shift + C.
Procedurett. A (AA: string );
Begin
End;
67. Alt + left mouse buttons can be used to select code blocks. It is very useful to delete duplicate code alignment.
68. CTRL + Shift + G generates a guid
Common Delphi shortcut keys
(1) block selection code: [Alt + left mouse button] (or [SHIFT + ALT + direction key ])
(2) Code Template: [Ctrl + J]
(3) Move the entire code block: [Ctrl + Shift + I] (right shift) [Ctrl + Shift + u] (left shift)
(4) locate source code: [Ctrl + left mouse] point the mouse to the variable name, unit name, class name, and use this hot key to locate the corresponding description
(5) definition and implementation switch: The direction keys of [SHIFT + Ctrl + up (or down)] can switch the cursor position with the corresponding process, function, and event definitions.
(6) Add the declaration or function: [Ctrl + Shift + c
(7) bookmarks: [crtl + Shift + n (n = 1, 2, 3, 4...)] define bookmarks
[Crtl + n (n = 1, 2, 3, 4 ......)] Jump to bookmarks n
(8) Delete: Ctrl + T: delete a word on the right of the cursor.
CTRL + Y: Delete the row where the cursor is located.
CTRL + backspace: deletes a word from the backend.
CTRL + Shift + Y: Delete the text between the cursor and the end of the row.
(9) case-sensitive conversion: [Ctrl + K + O, CTRL + K + N] converts the entire code to lowercase or uppercase.
[Ctrl + O + u] switch the case of the selected block
(10) list all methods: Ctrl + space. You need to disable the shortcut key for the input method.
(11) Adjust the component Ctrl + up and move the current component up (precise );
CTRL + left: Move the current component to the left (exact );
[Ctrl + down] Move down the current component (exact );
CTRL + Right: Move the current component to the right (exact );
[SHIFT + up] reduces the height of the current component;
Shift + left: decrease the width of the current component;
[SHIFT + down] increases the height of the current component;
[SHIFT + right] & nbsp; Increase the width of the current component;
[ESC] selects one layer after another until the form is selected as the current component.
(12) Select Ctrl + e quickly.
(13) insert guid [Ctrl + Shift + G]
(14) Press enter to wrap the line "Ctrl + M" with the Enter key.
CTRL + n is the same as the Enter key, but the cursor position remains unchanged.