Delphi shortcut keys

Source: Internet
Author: User

Shortcut keys for improving programming speed has a very important impact, this article summarizes the Delphi commonly used shortcut keys for your reference:

Ctrl+pageup moves the cursor to the first line of the screen, and the screen does not scroll.
Ctrl+pagedown moves the cursor to the last line of the screen, and the screen does not scroll.
ctrl+↓ Scroll down the screen, the cursor following the scroll does not go out of the screen.
ctrl+↑ scrolling up the screen, the cursor following the scroll does not go out of the screen.
Ctrl+shift+num a maximum of nine temporary symbol numbers at the cursor line, which is useful for temporary switching.
A book will appear on the left side of the line, with Num on the cover, and then set to cancel.
Ctrl+num jumps directly to NUM, and NUM is the label set with Ctrl+shift+num.
Num cannot use the keypad.
Ctrl+home moves the cursor to the file header.
Ctrl+end moves the cursor to the end of the file.
Ctrl+bbufferlist window.
Ctrl+i the same tab key.
Ctrl+m with the ENTER key.
CTRL + N with the Enter key, but the cursor position remains unchanged.
Ctrl+t Delete one word to the right of the cursor.
Ctrl+y Delete the line where the cursor is located.

Ctrl+shift+↑ the cursor in the function body, move the cursor quickly to the current function declaration.
Ctrl+shift+↓ the cursor moves the cursor quickly to the function definition line when the function is declared.
Ctrl+shift+c a procedure or function is declared, the name, begin, end of the process or function is generated directly;
The ctrl+shift+e cursor toggles between the edit window and the Explorer window.
Ctrl+shift+g Insert GUID.
Ctrl+shift+j Popup The Delphi Statement Prompt window, select the desired statement will automatically complete a statement.
Ctrl+shift+t adds a to-do comment at the cursor line.
Ctrl+shift+y Delete the text between the cursor and the end of the bank.

Ctrl+f3callstack window.
Ctrl+f4 equals the close item in the File menu.

CTRL + mouse wheel to accelerate scrolling.

Shift+f8 the CPU window when debugging.
SHIFT+F10 Equals right mouse button (Windows shortcut key).

ALT+F4 closes the source program files that are open in all edit boxes, but does not close the project.

Set Code Insight template, Begin...end, as long as the input is, and then press Ctrl+j to match begin,end, but from begin to the corresponding end, do not know, matching parentheses and the like can be used alt+[,alt+]

Search editor keyboard shortcuts may be found, you can see help yourself.

Properties/code Insight in the Unit right-click menu when compiling programs

Set any ctr+j you like.

Some of the shortcuts in Delphiide (most of which are not found in the Delphi5.0 menu, some of which are very useful)

1. Code Template: Ctrl+j

2. Code block move: Ctrl+shift+i (move right) Ctrl+shift+u (shift left)

3. Check the form: Select any of the controls first, shift+ the left mouse button

4. Point the mouse to the variable name, cell name, class name, and then CTRL + left mouse button to find the corresponding description

5. Inside the procedure, function, event, the shift+ctrl+ upward direction key can jump to the corresponding procedure, function, event definition

6. Conversely, at the definition of a procedure, function, or event, the shift+ctrl+ downward arrow key jumps to the specific process, function, event interior

7.ctrl+shift+c: Write a statement or fill in a function

8.shift+ctrl+e Display EXPLORER

9.ctrl+shift+n (n=1,2,3,4 ...) defining bookmarks

10.ctrl+n (n=1,2,3,4 ...) jump to bookmark N

11.alt+ the left mouse button can block the code, remove the alignment of the duplicate code is very useful

12.ctrl+pageup moves the cursor to the first line of the screen, and the screen does not scroll.

13.ctrl+pagedown moves the cursor to the last line of the screen, and the screen does not scroll.

14.ctrl+↓ Scroll down the screen, the cursor following the scroll does not go out of the screen.

15.ctrl+↑ scrolling up the screen, the cursor following the scroll does not go out of the screen.

16.ctrl+home moves the cursor to the file header.

17.ctrl+end moves the cursor to the end of the file.

18.ctrl+bbuffer the List window.

19.ctrl+i the same tab key.

20.ctrl+m with the ENTER key.

21.ctrl+n the same enter key, but the cursor position remains unchanged.

22.ctrl+t Delete one word to the right of the cursor.

23.ctrl+y Delete the line where the cursor is located.

24.ctrl+shift+↑ the cursor in the function body, move the cursor quickly to the current function declaration.

25.ctrl+shift+↓ the cursor moves the cursor quickly to the function definition line when the function is declared.

26.ctrl+shift+c a procedure or function is declared, the name, begin, end of the process or function is generated directly;

The 27.ctrl+shift+e cursor toggles between the edit window and the Explorer window.

28.ctrl+shift+g Insert GUID.

29.ctrl+shift+j Popup The Delphi Statement Prompt window, select the desired statement will automatically complete a statement.

30.ctrl+shift+t adds a to-do comment at the cursor line.

31.ctrl+shift+y Delete the text between the cursor and the end of the bank.

32.ctrl+f3call Stack window.

33.ctrl+f4 equals the close item in the File menu.

34.ctrl+ mouse wheel to speed up the scroll screen.

35.shift+f8 the CPU window when debugging.

36.SHIFT+F10 Equals right mouse button (Windows shortcut key).

37.ALT+F4 closes the source program files that are open in all edit boxes, but does not close the project.

Shortcut keys for Delphi7

1.shift+ the left mouse button to select any control, select the form after pressing the button (the same as the ESC effect when the control is selected)

2.shift+f8 the CPU window when debugging.

3.SHIFT+F10 Equals right mouse button (Windows shortcut key).

4.shitf+ Arrow Selection

5.SHIFT+F12 Quick Find form and open

6.f7 (stepping debugging simultaneously tracks into the sub-process)

7.f8 (Stepping Debug does not enter sub-process)

8.f9 Run

9.F12 switching Editor,form

10.alt+f4 Close the Open source program files in all edit boxes without closing the project

11.alt+ the left mouse button can block the code, used to remove the alignment of the duplicate code is very useful

12.CTRL+F9 compiling

13.ctrl+shift+n (n=1,2,3,4 ...) defining bookmarks

14.ctrl+n (n=1,2,3,4 ...) jump to bookmark N

15.ctrl+shift+n at Bookmark N, and then click Cancel Bookmark

16.ctrl+pageup moves the cursor to the first line of the screen without scrolling

17.ctrl+pagedown moves the cursor to the last line of the screen without scrolling

18.ctrl+↓ Scroll down the screen, the cursor following the scroll does not go out of the screen

19.ctrl+↑ scrolling up the screen, the cursor following the scroll does not go 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+b Buffer List Window

23.ctrl+i with TAB key

24.ctrl+j (Pop-up the Delphi Statement Prompt window, select the desired statement will automatically complete a statement) code template

25.ctrl+m with the ENTER key.

26.ctrl+n with the ENTER key, but the cursor position remains the same

27.ctrl+t Delete a word to the right of the cursor

28.ctrl+y Delete cursor in the row

29.ctrl+c replication

30.ctrl+v paste

31.ctrl+x Cut

32.ctrl+z Restore (undo)

33.ctrl+s Save

34.ctrl+f Find

35.ctrl+l continue to find

36.ctrl+r replacement

37.ctrl+enter locating to a cell file

38.CTRL+F3 pop-up Call Stack window

39.ctrl+f4 equals the close item in the File menu

40.ctrl+backspace back to delete a word until it encounters a separator

41.ctrl+ Mouse wheel speed scrolling

42.ctrl+o+u Toggle the case of the selection block (note release O and press U,ctrl to hold)

43.ctrl+k+o Toggle Selection Block Lowercase (note loosen K and press O,ctrl to hold)

44.ctrl+k+n Toggle Selection block to uppercase (note release K and press N,ctrl to hold)

45.ctrl+shift+g Insert GUID

46.ctrl+shift+t Add to-do comment at cursor line

47.ctrl+shift+y Delete the text after the cursor to the end of the bank

48.ctrl+shift+c write a statement or fill in a function, perfect!!!

49.ctrl+shift+e Display Explorer

50.ctrl+tab Switch Properties page and Events page in Inspector

51.ctrl+shift+u code whole block left 2 spaces position

52.ctrl+shift+i code block right shift 2 spaces position

53.ctrl+shift+↑ in procedures, functions, events, can jump to the corresponding process, function, event definition (switch back and forth between interface and implementation)

54.ctrl+shift+↓ in the definition of procedure, function, event, can jump to concrete process, function, event interior (IBID.)

55.Tab in the Object Inspector window, press the TAB key to move the cursor to the property name area, and then type the initial letter of the property name to quickly navigate to the property

56.ctrl+alt after pressing the Ctrl+alt, the mouse can select the code in a rectangular block, and copy, paste

57.shift+↓, ↑, →, ← Change the size of the selected control in 1 pixel units

58.ctrl+↓, ↑, →, ← Change the selected control position in 1 pixel units

59.ctrl+e Quick selection (oh, try it, it's fun)

---------the Gexperts ---------

60.CTRL+ALT+C Comment Block

61.ctrl+alt+u Canceling comment blocks

62.ctrl+alt+h Build Header (more detailed settings in the Editor Experts property page of the Gexperts configuration)

63.ctrl+alt+o Select a statement between the corresponding delimiters

64.ctrl+alt+v jumps back and forth between the corresponding delimiters (conflicts with existing shortcut keys, please change)

--------------------------------------------------------------------------

65, the mouse pointer to the variable name, cell name, class name, and then use CTRL + left mouse button to find the corresponding description

66, Ctrl+shift+c write the declaration or complement the function.

Such as:

?
1 procedureTT.A(AA:string);//函数申明

Ann: Ctrl+shift +c, will write on

?
123 procedureTT.A(AA:string);beginend;

67, ALT + the left mouse button can block the code, delete the alignment of the duplicate code is very useful.

68. Ctrl+shift+g generates a GUID number

Delphi 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.