Methods in VC editing

Source: Internet
Author: User

1. Check whether parentheses in the program match
Move the cursor to the brackets to be checked (such as braces {}, square brackets [], Parentheses (), and angle brackets <>), and enter the shortcut key "Ctrl +]". If the brackets match correctly, the cursor jumps to the matching brackets. Otherwise, the cursor does not move and the chassis horn generates a warning.

2. view the macro definition of a macro (or variable or function)
Move the cursor to a macro You Want To Know. For example, on the most common declare_map_message, click F12 (or right-click go to defition ...), if browse files is not created, a dialog box is displayed. Click OK. Then, the page jumps to the location where those objects are defined.

3. Format a piece of messy source code
Select the source code and press ATL + F8.

4. Specify the pre-processing position
Locate the cursor to symmetric # If, # endif in the source file, and use Ctrl + K.

// Select characters
1. (cool) press the Alt key and click the left mouse button to drag it. You can select text blocks and columns.
2. Press ctrl and click a word to select a word or double-click it.
3. move the cursor at the starting position, hold down shift, and click the left mouse button to select a segment (you can also browse it in IE)
Yes. You can't see the cursor,
4. Double-click the left mouse button to select a word.
5. Press SHIFT + the up and down arrow keys to select rows.
6. Press Ctrl + Shift + left and right arrow keys to select a word.
7. Press Ctrl + C to copy the row where the cursor is located.
8. Press SHIFT + [end] to select the row.

// Edit
CTRL + F search
F3 downward
Shift + F3 up
CTRL + H replace
CTRL + Shift + u the selected part is converted to uppercase
CTRL + u select to lowercase
All rows selected by tab move the width of a tab key to the right.
Shift + TAB select all rows move the width of one tab key to the left
Alt + F8 rearrange the selected text in the defined format.
CTRL + Shift + 8 (switch command) when editing the code, view/not view spaces and Tab tabs.
CTRL + G. Just try it out (goto)
CTRL +] automatically matches braces or parentheses. But sometimes it does not match because other characters include "{" or.
CTRL + J (conditionalup) Search for the nearest one # If, # else, # ifdef, # endif
CTRL + K (conditionaldown) Search down the nearest # If, # else, # ifdef, # endif
F12 jumps to the reference of the function.
Do {+ tab appears automatically} while ();
CTRL + [delete] Delete space permanently ?.
CTRL + the up and down arrow keys scroll up and down.
Shift + F10 or right-click a key on the left of the keyboard and select right-click menu (basic functions of windows)
CTRL + Shift + space prompt for opening function parameters

Alt + O open the corresponding hfile or CPP File

CTRL + TAB switch to the recently opened file or Graph
CTRL + D switch focus to find in files

CTRL + F5 excute the EXE
CTRL + F7 Compiler
F7 build to exe
F9 remove/Insert a breakpoint
F5 start debug
F11 step
CTRL + F10 run to cursor

Shift + F12: goto reference
CTRL + 'num + ': displays the next symbol definition or reference
CTRL + 'num-': displays the previous symbol definition or reference
CTRL + J/K: Find the previous/next pre-compilation Condition
CTRL + Shift + J/K: Find the previous/next pre-compilation condition and select this one
CTRL + end: End of the document
CTRL + Shift + end: select from the current position to the end of the document
CTRL + home: Document Header
CTRL + Shift + home: select from current position to Document Header
CTRL + B/ALT + F9: Edit breakpoint
Alt + F3/Ctrl + F: Search
F3: Find the next
Shift + F3: Find the previous one
CTRL +]/Ctrl + E: Find the arc in the lower half
CTRL + Shift +]: Find the lower half of the arc and select the section (including the arc) between the arc)
CTRL + Shift + E: Find the lower half of the arc and select the section (including the arc) between the arc)
F4: Find the next error/warning location
Shift + F4: Find the last error/warning location
Shift + home: select from the current position to the beginning of the row
Shift + end: select from the current position to the end of the row
CTRL + L: Cut the current row
CTRL + Shift + L: Delete the current row
Alt + Shift + T: exchange the current row and the previous row
CTRL + ALT + T: brings up the Completion list box
Shift + Pagedown: select the current position from the current position to the current position on the next page
Shift + Pageup: select from current location to current location on the previous page
CTRL + Shift + space: Display tooltip of function parameters
CTRL + z/ALT + backspace: undo
CTRL + Shift + z/Ctrl + Y: redo
F8: the current position changes to the head/end of the selected area (move the cursor or click the mouse to select)
CTRL + Shift + F8: the current position changes to the header/tail of the selected area of the rectangle (move the cursor or click the mouse to select)
Alt + F8: Automatic format rescheduling
CTRL + G: GOTO
Ctlr + x/Shift + DEL: Cut
CTRL + C/Ctrl + INS: Copy
CTRL + V/Shift + INS: Paste
CTRL + u: converts the selected area to lowercase
CTRL + Shift + u: Convert the selected area to uppercase
CTRL + F8: The current row becomes the header/tail of the selected area (move the cursor up or down or click the mouse to select multiple rows)
CTRL + Shift + L: delete from current position to end of line
CTRL + Shift + 8: Convert all tabs to 'or restore
CTRL + T: display the variable type
CTRL + scroll: Scroll up
CTRL + scroll: Scroll down
CTRL + DEL: Delete the last half of the current word (separated by the cursor)
CTRL + backspace: Delete the first half of the current word (separated by the cursor)
CTRL + move: Move to the previous word
CTRL + →: Move to the next word
CTRL + Shift + cursor: select the current position to the previous word
CTRL + Shift + →: select the current position to the next word
CTRL + Shift + T: swap this word with the previous word

Alt + 0: Workspace window
Alt + 2: Output Window
Alt + 3: Watch window
Alt + 4: variables window
Alt + 5: registers window
Alt + 6: Memory Window
Alt + 7: callstack window
Alt + 8: Disassembly Window
CTRL + W: classwizard
Alt + enter: Properties

Alt + F7: Project Settings

F7: Build
CTRL + F7: Compile
CTRL + F5: Run
CTRL + break: stops the build
F5: Go
CTRL + F10: Run To cursor
F11: Step
Alt + F10: apply codes changes
CTRL + F9: enable/disable a breakpoint
Alt + F11: Switch Memory window to the following Display Mode
Alt + Shift + F11: Switch the memory window to the previous display mode.
CTRL + Shift + F9: Remove all breakpoints
CTRL + Shift + F5: restarts the program
CTRL + Shift + F10: set the current row to the row where the next command is executed.
Alt + num *: scroll to the current command
Shift + F11: jump out of the current function
F9: breakpoint
F10: Step over
Shift + F5: Stop debugging
CTRL + F11: switches between the source view and the disassembly view for this Instruction
Alt + F12: queries on the selected object or current context

Alt + F6: Toggles the docking feature for the window on/off
Shift + ESC: Hide the window

CTRL + Shift + F2: Clear all bookmarks
F2: Previous bookmarks
Shift + F2: the previous bookmarks
Alt + F2: edit bookmarks
CTRL + F2: Add/delete a bookmarks
F12: goto Definition
Shift + F12: goto reference
CTRL + 'num + ': displays the next symbol definition or reference
CTRL + 'num-': displays the previous symbol definition or reference
CTRL + J/K: Find the previous/next pre-compilation Condition
CTRL + Shift + J/K: Find the previous/next pre-compilation condition and select this one
CTRL + end: End of the document
CTRL + Shift + end: select from the current position to the end of the document
CTRL + home: Document Header
CTRL + Shift + home: select from current position to Document Header
CTRL + B/ALT + F9: Edit breakpoint
Alt + F3/Ctrl + F: Search
F3: Find the next
Shift + F3: Find the previous one
CTRL +]/Ctrl + E: Find the arc in the lower half
CTRL + Shift +]: Find the lower half of the arc and select the section (including the arc) between the arc)
CTRL + Shift + E: Find the lower half of the arc and select the section (including the arc) between the arc)
F4: Find the next error/warning location
Shift + F4: Find the last error/warning location
Shift + home: select from the current position to the beginning of the row
Shift + end: select from the current position to the end of the row
CTRL + L: Cut the current row
CTRL + Shift + L: Delete the current row
Alt + Shift + T: exchange the current row and the previous row
CTRL + ALT + T: brings up the Completion list box
Shift + Pagedown: select the current position from the current position to the current position on the next page
Shift + Pageup: select from current location to current location on the previous page
CTRL + Shift + space: Display tooltip of function parameters
CTRL + z/ALT + backspace: undo
CTRL + Shift + z/Ctrl + Y: redo
F8: the current position changes to the head/end of the selected area (move the cursor or click the mouse to select)
CTRL + Shift + F8: the current position changes to the header/tail of the selected area of the rectangle (move the cursor or click the mouse to select)
Alt + F8: Automatic format rescheduling
CTRL + M :? Detects duplicate mnemonics in the Resource
Alt + O: interactive display of header files and CPP files
 

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.