Common shortcut keys for Visual Studio + VA)

Source: Internet
Author: User

The following method is a shortcut key that I usually use when working. It is based on the vs2008 + va plug-in, but it is similar in other versions.

Shortcut Key habits:
Tools-> options-> keyboard: Apply the following additional keyboard mapping scheme
Select visual c ++ 6

Va and shortcut keys:
First, set the shortcut keys that I personally prefer for va. If there are not many shortcut keys, just two.
Tools-> options-> keyboard: show commands containing:
Vassistx. navigateforward Alt +-> move to the following page (Note: shortcuts for selected command: Select texteditor)
Vassistx. surroundselectionwithcomment Ctrl +/add a comment (Note: shortcuts for selected command: Select texteditor)

Common Shortcut Keys: (starting from the most common)
F9 // set the breakpoint
F5 // debugProgram
F10 // one step
F11 // enter a function
Shift + F11 // jump out of a function

SHIFT + ALT + O // open the file name Search dialog box
Alt + G // jump to the definition
Alt + M // enter a part of the function name, view a function
Alt + <-// return to the previous view
Alt +-> // move forward to the next view (this shortcut is custom)
Ctrl +} // If the cursor is at "{", jump to the matched "}". If the cursor is at "}", it will jump to the paired "{".
Alt + up arrow key // jump to the previous class or function
Alt + down arrow key // jump to the next class or function
Ctrl + // Add a comment (this shortcut key is customized)
SHIFT + F9 // quickly view the variable
Alt + 3 // view the variable
Alt + 7 // view the stack
Alt + 6 // View memory
SHIFT + F5 // exit the debugging program
Ctrl + F5 // run the program, note that it is not debugging
F7 // compilation (if many warnings and some errors occur after compilation, you can click it again and then compile F7 again. At this time, only errors are displayed for easy error locating .)

CTRL + I // input, incremental search (Real-time search)
CTRL + F3 // when selecting a word, jump to the next word (next to F3, Shift + F3)
CTRL + Shift + f // search for keywords in the file, current project, current document, open document, custom, etc.
CTRL + F2 // Add bookmarks to a row and then remove the bookmarks after one test.
F2 // jump to a bookmarks, and then click test to jump to the next bookmarks

Shift + F2 // jump to the previous bookmarks

CTRL +-> // jump to the end of a word
CTRL + <-// jump to the beginning of a word
CTRL + Shift +-> // select a word after the cursor
CTRL + Shift + <-// select a word before the cursor
Shift +-> // select the next letter. Each time a letter is added at a time
Shift + <-// select the first letter. Each time a letter is added

CTRL + Shift + space // when the cursor is in the function parameter, a list of function parameters is displayed.
CTRL + B // Add a breakpoint
CTRL + L // delete a row

CTRL + home // jump to the beginning of the document
CTRL + end // jump to the end of the document
Home // jump to the beginning of a row
End // jump to the end of a row

// 2010.12.09
// Square brackets

Address: http://www.cnblogs.com/fangyukuan/archive/2010/12/10/1901748.html

Related Article

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.