Some tips for using Delphi ide
1. search and replace
(1) <Ctrl> + F [1]: Select "find" on the page to continue searching based on the search direction. Select "find"
In files.
(2) <Ctrl> + R: replace.
(3) set bookmarks and positioning: Set bookmarks: <Ctrl> + <shift> + number [2] positioning bookmarks: <Ctrl> + number
2. Form editing
(1) <F12>: switch between form editing and code editing.
(2) <F11>: Call the form Component Property/event browser configurator (Object inspector ).
(3) <menu: View> + <menu: Alignment palette>: Align panel: Used to align each visual component.
3. Coding
(1) <Ctrl> + J: Call the Automatic Code Completion template to implement automatic completion of code segments. For template configuration, you can
In the <menu: Tools> + <menu: Editor OPTIONS…> + <Panel: source options> + <button: EDI
T code templates...> .
(2) <Ctrl> + <mouse: Click>: view the implementation code of the method and the declaration of the variable.
(3) <Ctrl> + <space>: <Ctrl> + <shift> + <space>: Method body parameter prompt.
4. Program compilation and running
(1) <F9>: Compile and run (you can set breakpoints for debugging ).
<F8>: single-step debugging, but does not enter the relevant sub-function/process body.
<F7>: Step-by-Step debugging. debugging goes deep into each related sub-function/process body.
<Ctrl> + <F2>: stops program debugging and running and returns to the program editing status.
(2) <F5>: Set/cancel the breakpoint of the setup program.
(3) <Ctrl> + <F7>: Observe the code value and add a new value (using the modify function) for debugging (Note: This function
Valid only when the program is temporarily terminated [3]). The Inspector function in the appendix allows you to view the value/object in more detail.
.
<Ctrl> + <F5>: displays the values of objects of different data types. When you use <Ctrl> + <F7> to call "evalua ",
You can also use the [Button: Modify] to call the TE/modify function.
5. Engineering Control
(1) to-do list.
[Function] records and prompts the progress of a job. The next time you enter development, you can quickly follow the previous development.
[Operation method] <right-click> +: add to-do list content.
<Menu: View> + <menu: to-do list>: View and locate to-do list.
[Operation tips] the to-do list has no limit on the number. It can be used as a long-term bookma
.
Note:
[1] Delphi provides the method of using + E for incremental search. I personally don't really appreciate it.
[2] It is important to note that all numeric keys cannot use the numeric keys on the keypad.
[3] There are two ways to temporarily terminate a program: (1) when the program runs at the breakpoint, the program is automatically terminated and waiting for debugging;
(2) Call <menu: Run…> + <Menu: Program pause> temporarily terminates the program and waits for debugging.
Some tips for using Delphi ide