Quick Code Template
"CW" + TAB-console. writeline ();
"Mbox" + TAB-MessageBox. Show ();
"Prop" + TAB-attribute blocks containing get and set accessors
"Propg" + TAB-Fast Read-only attribute
"Propfull" + tabl + TAB-fast attribute with complete get and set accessors
Is it convenient?
Code operation
CTRL + K + C-Comment
CTRL + K + U-uncomment
CTRL +]-search for matching parentheses
CTRL + Shift +]-select matching brackets and their code
CTRL + F-Quick Search
CTRL + H-quick replacement
CTRL + Shift + U-convert to uppercase
CTRL + U-convert to lowercase
CTRL + K + D-set the document format
Tab-increase indentation
Shift + TAB-Reduce indentation
CTRL + M-collapse the Code. For example, place the cursor in the position of # region, if, and method header.
CTRL +.-Call out the using menu
CTRL + E + S-view the blank space (convert the space to a green point, which is especially convenient when searching for extra spaces)
Debug and run
F5-start debugging
Shift + F5-Stop debugging
F9-set breakpoints
CTRL + Shift + F9-delete all breakpoints
F10-process-by-process debugging
F11-statement-by-statement debugging
Project operations
Alt + enter-open the Properties dialog box for the selected item
CTRL + Shift + N-create a project
Shift + ALT + N-create a website
CTRL + N-create a file
CTRL + Shift + O-open the project
Shift + ALT + O-open the website
CTRL + O-open the file
CTRL + Shift + A-Add a new item in the project
Shift + ALT + A-add an existing project to the Project
Shift + ALT + C-Add a class in the project
View call
F4-attributes
CTRL + ALT + X-toolbox
CTRL + ALT + L-solution Resource Manager
CTRL + ALT + S-server Resource Manager
Shortcut Keys for vs2010
CTRL + E, D ---- format all code Ctrl + e, f ---- format the selected code Ctrl + Shift + B generate solution Ctrl + F7 generate and compile Ctrl + O open file Ctrl + Shift + O open project Ctrl + Shift + C display Class View window f4 Display Properties window SHIFT + F4 display Project Properties window Ctrl + Shift + e display resource view F12 go to definition Ctrl + F12 go to Declaration CTRL + ALT + J object browse CTRL + ALT + f1 help directory Ctrl + F1 dynamic help F1 help F1 SHIFT + F1 current window help CTRL + ALT + F3 help-search SHIFT + ALT + enter full screen display Ctrl +-backward positioning Ctrl + Shift + -Move forward to Ctrl + F4 close document window Ctrl + Page D Own cursor positioned above the window Ctrl + page up cursor positioned below the window Ctrl + F6 Ctrl + TAB next document window Ctrl + Shift + F6 Ctrl + Shift + TAB previous document window Alt + f6 next panel window Ctrl + K, CTRL + l cancel remark Ctrl + k, CTRL + C comment Select Code Ctrl + k, CTRL + u cancel comments on the selected code Ctrl + m, CTRL + O fold Code definition Ctrl + m, CTRL + l expand Code definition Ctrl + delete Delete to end Ctrl + backspace Delete to header SHIFT + TAB cancel tab Ctrl + u convert lowercase Ctrl + Shift + u convert uppercase Ctrl + Shift + end select Ctrl + Shift + home at the end of the document and open it at the end of the document. Shift + end select SHIFT + home select SHIFT + ALT + end vertical select SHIFT + ALT + home vertical select Ctrl + Shift + page up select to the front of this page Ctrl + Shift + Page down select to the end of this page Ctrl + end document locate to the last Ctrl + home document locate to the top Ctrl + A select all Ctrl + W select the current CTRL + G... CTRL + k, CTRL + P the last tag Ctrl + K, CTRL + N next tag Alt + F10 debug-applycodechanges CTRL + ALT + break stop debug Ctrl + Shift + F9 cancel all breakpoints Ctrl + F9 allow interrupt Ctrl + Shift + F5 debug-start again f5 run debugging Ctrl + F5 run not debug F10 execute F11 one step by one execute Ctrl + J list members Ctrl + Page down next view Ctrl + B format-bold Ctrl + Shift + T format-text indent debugging shortcut F6: generate solution Ctrl + F6: generate current project F7: view code SHIFT + F7: View Form Designer F5: start debugging Ctrl + F5: start execution (do not Debug) Shift + F5: stop debugging Ctrl + Shift + F5: restart debugging F9: Switch breakpoint Ctrl + F9: Enable/Stop breakpoint Ctrl + Shift + F9: delete all breakpoints F10: Ctrl + F10: Run To cursor F11: statement-by-statement editing shortcut key shift + ALT + enter: Switch to full screen editing Ctrl + B, T/Ctrl + k, K: Switch to bookmarks Ctrl + B, n/Ctrl + k, n: move to the next bookmarks Ctrl + B, P: Move to the previous bookmarks Ctrl + B, C: Clear all tags Ctrl + I: Progressive search Ctrl + Shift + I: reverse progressive search Ctrl + F: Search Ctrl + Shift + F: Search for F3 in the file: Find the next shift + F3: Find the previous Ctrl + H: replace Ctrl + Shift + H: replace Alt + F12 in the file: Search symbol (list all search results) Ctrl + Shift + V: clipboard cycle Ctrl + left and right arrow keys: One word can be moved at a time C TRL + up and down arrow keys: Scroll the code screen without moving the cursor position. CTRL + Shift + L: Delete the current row Ctrl + M, M: Hide or expand the current nested folding status Ctrl + M, L: set all processes to the same hidden or expanded State Ctrl + M, P: Stop outline display Ctrl + E, S: View blank Ctrl + e, W: automatically wrap Ctrl + G: shift + ALT + Arrow: select the rectangular text Alt + the left mouse button: select the rectangular text Ctrl + Shift + u: Convert all to uppercase Ctrl + u: CTRL + J/Ctrl + K, L: List Members Ctrl + Shift + Space key/Ctrl + K, P: parameter information Ctrl + K, I: quick information: Ctrl + E, C/Ctrl + k, C: Comment the selected content Ctrl + e, U/Ctrl + k, u: cancel the selected comment content Ctrl + K, M: method for generating the stub Ctrl + k, X: insert the code segment Ctrl + k, S: insert the external code F12: Go to the call process or variable definition window shortcut key Ctrl + W, W: browser window Ctrl + W, S: solution manager Ctrl + W, C: Class View Ctrl + W, e: Error List Ctrl + W, O: Output view Ctrl + W, P: attribute window Ctrl + W, T: task list Ctrl + W, X: toolbox Ctrl + W, b: The Bookmarks window Ctrl + W, u: document outline Ctrl + D, B: breakpoint window Ctrl + D, I: Real-Time Window Ctrl + tab: activity form switch Ctrl + Shift + N: new project Ctrl + Shift + O: Open project Ctrl + Shift + S: Save all SHIFT + ALT + C: CTRL + Shift + A: the new item may not be complete yet. Sorry.