C + + Builder 6.0 shortcut keys

Source: Internet
Author: User

The following are some of the shortcut keys I use most often: (bold is recommended)


:: Project Management Category::
F10 Switch to the main window of the BCB when the code window is displayed full screen
CTRL + F12 Open source File Manifest dialog box
SHIFT + F12 Open window File Manifest dialog box
F12 Switch between the window (Form1) and the corresponding code file (unit1.cpp)
F11 Bring the Object inspector window to the front, which is handy when editing code
ALT + F11 Open the Include header file window
Shift + F11 Add the specified file to the current project
CTRL + F9 Compiling the project
ALT + F9 Compiling the current file
F9 Compiling and running the program

:: Code editing Class::
CTRL + ENTER (enter) Displays the Open File dialog box, but note that the current cursor cannot be on the comment line
CTRL + F4 Close the current code file
CTRL + F6 Switch between. h and. cpp files for a class
CTRL + SHIFT + Number keys (,...) Insert a bookmark of the specified number
CTRL + Numeric keys (,...) Jumps to the bookmark location of the specified number
ALT + G Show go To line number dialog box
CTRL + SHIFT + U Indent the selected code block to the left
CTRL + SHIFT + I Indent the selected code block to the right
CTRL +↑ Scroll up the Code window at any time, without first scrolling to the top
CTRL +↓ Scroll down the Code window at any time, without first scrolling to the bottom
CTRL + F Open the Find dialog box
CTRL + R Open the Replace dialog box
F3 Find the next occurrence of a keyword entered in the Find dialog box

:: Debug Class::
F5 Sets/cancels breakpoints for the current line in the Code window
F7 Enter function call Internal trace
F8 Single-step debugging, no function calls inside
CTRL + ALT + W Open the Watch window to see the value of the specified variable in the debug state
CTRL + mouse pointer to variable Display the value of a pointer to a variable under breakpoint debugging


Also do not underestimate the keyboard as if very unpopular keys, such as tab, PageUp, PageDown, home, end and so on. Because I have seen some people writing code, such as from the current cursor jump to the head and tail of the line of code will only use the arrow key ← to a row of the movement, so the efficiency is too bottom, in fact, press home and end key can jump directly to the head and tail of the line of code. As long as we are good at discovering everything around, you can find the highlights and ideas that others have not noticed.

C + + Builder 6.0 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.