Take shortcuts in C ++ Builder to improve the efficiency of coding and development

zhaozj2021-02-08  198

Home:

http://www.maxss.net mail: maxchou@163.com

It is also three or four years of learning C Builder. It has gradually accumulated some skills of coding and development. I want to take some time to share my own experience with you. There are many ways to improve coding and development efficiency. This time I mainly want to write how to use shortcut keys and keyboard operations to improve coding and development efficiency.

Quickity can feel very troubles with some people, remember that there are so many combinations of different functions. As the meaning of the name, if you are familiar with the shortcut key commonly used in a software, you will undoubtedly give your work efficiency very well, sometimes you can charge a "master" in front of a small vegetable bird.

I have used some shortcuts in my own: (Baoji is recommended)

:: Project Management Class :: F10 Code Window Full Screen Show to BCB Main Window Ctrl F12 Open Source File List dialog SHIFT F12 Open Window File List dialog box F12 in the window (Form1) with the corresponding code file (Unit1). CPP Switching F11 takes the Object Inspector window to the forefront, when editing the code, this feature is convenient for Alt F11 Open the include header file window Shift F11 Add the specified file to the current project Ctrl F9 compile item ALT F9 compiles the current File F9 compiles and runs the program :: Code Editorial :: Ctrl Enter key (Enter) Display Open File dialog, but pay attention to the current cursor Ctrl F4 to close the current code file Ctrl F6 in a class Switch between the Ctrl Shift Number button (1, 2, ...) between the .h and .CPP files, insert the bookmark Ctrl number key (1, 2, ...) that specifies the number (1, 2, ...) jumped to the bookmark position of the specified number. Alt G Displays the Go to Line Number dialog Ctrl Shift U removes the selected code block to ztrl shift i to indent the selected code block to the right Ctrl ↑ Always scroll up the code window, the cursor is not Scroll to the top Ctrl ↓ Turn down the code window at any time, the cursor does not scroll to the bottom Ctrl F Open Find Dialog Ctrl R Open Replace dialog box F3 Find the next location where the keyword entered in the Find dialog box: : Debug class :: F5 Setting / Cancel Code F7 F7 F7 Enter Function Call Internal Tracking F8 Single Step, Do not perform function call internal Ctrl Alt W Open Watch window, view the specified variable in debug state Value Ctrl Mouse points to display the value of pointing variables under breakpoint debugging

In addition, don't look at the keyboard as if you seem to be very cold, such as Tab, Pageup, Pagedown, Home, End, etc. Because I have seen some people when I write the code, if I jump from the current cursor to the head and tail of the code line, I will only use the arrow keys ← → one graphic movement, so the efficiency is too late, actually presses Home and The END button can jump directly to the head and end of the code line. As long as everyone is good at discovering everything around you, you can find that someone else will not pay attention to the highlights and creative.

转载请注明原文地址:https://www.9cbs.com/read-2152.html

New Post(0)