CTRL + E, D ---- format all code CTRL + e, f ---- format the selected code CTRL + Shift + B generate Solution CTRL + F7 generate Compilation CTRL + O open the file CTRL + Shift + O open the 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 to definition CTRL + F12 go to Declaration CTRL + ALT + J object browsing CTRL + ALT + F1 help directory CTRL + F1 dynamic help F1 help Shift + F1 current window help CTRL + ALT + F3 help-Search Shift + ALT + enter full screen display CTRL +-backward Positioning CTRL + Shift +-forward positioning CTRL + F4 close document window CTRL + page down 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 ALT + F6 next panel window CTRL + K, CTRL + L cancel remark CTRL + K, CTRL + C comment on the selected code CTRL + K, CTRL + U uncomment the selected code CTRL + M, CTRL + O fold Code definition CTRL + M, CTRL + L expand Code definition CTRL + DELETE to the end CTRL + BACKSPACE Delete to word Header SHIFT + TAB cancel TAB CTRL + U to lowercase CTRL + SHIFT + U convert to uppercase CTRL + SHIFT + END select to END of the document CTRL + SHIFT + HOME select to start at the end of the document SHIFT + END select to END of line SHIFT + HOME select to start line SHIFT + ALT + END vertical selection to the END SHIFT + ALT + HOME vertical select to the beginning CTRL + A select all CTRL + W select current word CTRL + SHIFT + page up select to the front of this PAGE CTRL + SHIFT + page down select after this PAGE CTRL + END document to final CTRL + HOME locate to the beginning CTRL + G... CTRL + K, CTRL + P CTRL + K, CTRL + N next tag ALT + F10 debugging-ApplyCodeChanges CTRL + ALT + Break stop debugging CTRL + SHIFT + F9 cancel all breakpoints CTRL + F9 allow interruption CTRL + SHIFT + F5 debug-start again F5 running debugging CTRL + F5 run not debug F10 Program Execution F11 one-step and one-sentence execution CTRL + J list members CTRL + page down next view CTRL + B format-bold CTRL + SHIFT + T format-text indent Debugging shortcuts F6: generate a solution Ctrl + F6: generate the current project F7: view code Shift + F7: view the Form Designer F5: start debugging Ctrl + F5: start execution (not debugging) Shift + F5: Stop debugging Ctrl + Shift + F5: restart debugging F9: breakpoint Switching Ctrl + F9: Enable/stop a breakpoint Ctrl + Shift + F9: delete all breakpoints F10: Process by Process Ctrl + F10: run at the cursor F11: statement by statement Edit shortcuts Shift + Alt + Enter: Switch to full screen editing Ctrl + B, T/Ctrl + K, K: Switch the 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 labels Ctrl + I: Progressive search Ctrl + Shift + I: reverse progressive search Ctrl + F: Search Ctrl + Shift + F: find in the file F3: Find the next Shift + F3: Find the previous one CTRL + H: replace CTRL + Shift + H: Replace in the file Alt + F12: Search symbols (list all search results) CTRL + Shift + V: clipboard Loop CTRL + left and right arrow keys: One word can be moved at a time CTRL + 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: automatic line feed CTRL + G: Go to the specified row Shift + ALT + Arrow: Select rectangular text Alt + mouse left button: Select rectangular text CTRL + Shift + u: all are capitalized CTRL + u: lowercase for all Code shortcut 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: Generate method stubs Ctrl + K, X: insert code segment Ctrl + K, S: insert external code F12: Go to the definition of the called process or variable Window shortcut 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: Bookmarks window Ctrl + W, U: document outline Ctrl + D, B: breakpoint window Ctrl + D, I: Real-Time Window Ctrl + Tab: active form Switching Ctrl + Shift + N: Create a project Ctrl + Shift + O: Open the project Ctrl + Shift + S: Save all Shift + Alt + C: Create a class CTRL + Shift + A: new item Hide shortcut keys in vs2005 Here, I will share some of the shortcut keys that were not explicitly stated in vs2005, not all of them, or some common shortcut keys. 1. CTRL + space directly completes the class or function (originally this is not a hidden shortcut key, but because the Chinese Input Method preemptible this shortcut key, so..., the alternative shortcut key is Alt + right) 2. Shift + delete Delete the entire row and place the row to the clipboard (you cannot select a part of content at this time) 3. Shift + insert and paste. It's a bit incredible. Just press Ctrl + V to match SHIFT + Delete. 4. CTRL + up, CTRL + down scroll editor, but do not move the cursor as much as possible. Ensure that the cursor is within the visible range. 5. CTRL + backspace and CTRL + delete are useful in some cases. 6. Press Ctrl + left, CTRL + right to move the cursor by the entire word (not to hide it, and add it to the previous several items as the CTRL cursor control suite) 7. Alt + Shift + F10 open the execution Rename and implement the small window of the interface and abstract class (you can also use Ctrl + .., but some Chinese input methods use this) 8. Shift + F9 debugging is to enable quickwatch, where the content of the current cursor is located 9. F12 jump to definition, which is a useful shortcut 10. Shift + F12 search for all references --------------------------------------- Vs2008 Shortcut Keys ---------------------------- CTRL + M + CRTR + O fold all outlines Ctrl + M + Crtr + P: Stop outline display Ctrl + K + Crtr + C: Comment the selected content Ctrl + K + Crtr + U: cancel the selected comment content Ctrl + J: List smart sensing of members Shift + Alt + Enter: Switch to full screen editing Ctrl + B, T/Ctrl + K, K: Switch the 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 labels Ctrl + I: Progressive search Ctrl + Shift + I: reverse progressive search Ctrl + F: Search Ctrl + Shift + F: find in the file F3: Find the next Shift + F3: Find the previous one Ctrl + H: replace Ctrl + Shift + H: Replace in the file Alt + F12: Search symbols (list all search results) Ctrl + Shift + V: clipboard Loop Ctrl + left and right arrow keys: One word can be moved at a time Ctrl + 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 + E, S: View Blank CTRL + e, W: automatic line feed CTRL + G: Go to the specified row Shift + ALT + Arrow: Select rectangular text Alt + mouse left button: Select rectangular text CTRL + Shift + u: all are capitalized CTRL + u: lowercase for all Code shortcut CTRL + Shift + Space key/Ctrl + K, P: parameter information CTRL + K, I: quick information CTRL + e, U/Ctrl + k, u: cancel the selected comment content CTRL + K, M: Generate method stubs CTRL + k, X: insert code segment CTRL + k, S: insert external code F12: Go to the definition of the called process or variable Window shortcut 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 TRL + W, P: attribute window Ctrl + W, T: task list Ctrl + W, X: toolbox Ctrl + W, B: Bookmarks window Ctrl + W, U: document outline Ctrl + D, B: breakpoint window Ctrl + D, I: Real-Time Window Ctrl + Tab: active form Switching Ctrl + Shift + N: Create a project Ctrl + Shift + O: Open the project Ctrl + Shift + S: Save all Shift + Alt + C: Create a class Ctrl + Shift + A: new item Shift + Alt + Enter: Switch to full screen editing Ctrl + B, T/Ctrl + K, K: Switch the 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 labels Ctrl + I: Progressive search Ctrl + Shift + I: reverse progressive search Ctrl + F: Search Ctrl + Shift + F: find in the file F3: Find the next Shift + F3: Find the previous one Ctrl + H: replace CTRL + Shift + H: Replace in the file Alt + F12: Search symbols (list all search results) CTRL + Shift + V: clipboard Loop CTRL + left and right arrow keys: One word can be moved at a time CTRL + 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: automatic line feed CTRL + G: Go to the specified row Shift + ALT + Arrow: Select rectangular text Alt + mouse left button: Select rectangular text CTRL + Shift + u: all are capitalized CTRL + u: lowercase for all |