1. Automatic Layout (similar to Alt + F8 in VC6) Edit. format the selected content Ctrl + K, Ctrl + F according to the surrounding code lines, correctly indent the selected code lines. 2. Comment out and remove the comment function. Edit. Comment the selected content Ctrl + K, Ctrl + C mark the current line of the Code as a comment using the correct annotation syntax of the programming language. Edit. uncomment the selected content Ctrl + K, Ctrl + U to remove the comment syntax from the current line of the Code. Move the insertion point to the next braces in the document. Edit. Move to braces Ctrl +] to move the insertion point to the next braces in the document. Edit. Scroll down a line Ctrl + down key to scroll down a line of text. It can only be used in a text editor. Edit. Scroll up a line Ctrl + up key to scroll up a line of text. It can only be used in a text editor. 3. How to find a solution View. Solution Explorer Ctrl + Alt + L display Solution Explorer, which lists projects and files in the current solution 4. display the toolbox" View. The toolkit Ctrl + Alt + X displays the Toolkit, which contains controls and other items that can be included in or used with the code. 5. Clear all breakpoints in the project Debug. Delete All Breakpoints Ctrl + Shift + F9 clear all breakpoints in the project. Debug. Disassemble Ctrl + Alt + D to display the "Disassemble" window. Debug. Switch the breakpoint F9 to set or remove the breakpoint in the current line. **************************************** ******* Shortcut for VS2008 Create Project Ctrl + shift + N Create a website shift + Alt + N File Ctrl + N Open Project/solution Ctrl + shift + O Open the website shift + Alt + O Open the file Ctrl + O Save the current file Ctrl + S Save all Ctrl + Shift + S Add new item Ctrl + Shift + Add existing item Shift + Alt + Add Shift + Alt + C Undo Ctrl + Z Repeat Ctrl + Y Go to Ctrl + G Apply duplicate items in the clipboard in a loop Ctrl + Shift + V Set the document format Ctrl + E, D Set the format of the selected content Ctrl + E, F Convert to uppercase Ctrl + Shift + U Convert to lower case Ctrl + U Delete horizontal blank Ctrl + E ,\ View blank Ctrl + E, S Automatically wrap Ctrl + E, W Progressive search Ctrl + I Comment the selected content Ctrl + E, C Uncomment selected content Ctrl + E, U Quick Search for Ctrl + F Quick replacement of Ctrl + H Find Ctrl + Shift + F in the file Find Next F3 Find the previous Shift + F3 Replace Ctrl + Shift + H in the file Search for the Alt + F12 symbol Switch bookmarks Ctrl + B, T Enable bookmarks Ctrl + B, E Ctrl + B, P Next bookmarks Ctrl + B, N Clear bookmarks Ctrl + B, C Shortcut for adding a task list: Ctrl + E, T Switch outline display expand Ctrl + M, M Switch to Ctrl + M, L for all outlines Stop outline display Ctrl + M, P Fold to define Ctrl + M, O Production Method stub Ctrl + K, M List Members Ctrl + K, L Parameter information Ctrl + K, P Quick information Ctrl + K, I Ctrl + K, W Insert code segment Ctrl + K, X External code Ctrl + K, S Code F7 Designer Shift + F7 Server Resource Manager Ctrl + W, L Solution Resource Manager Ctrl + W, S Class View Ctrl + W, c Code definition window Ctrl + W, D Object Browser Ctrl + W, J Error List Ctrl + W, E Output Ctrl + W, O Property Window Ctrl + W, P Task List Ctrl + W, T Toolbox Ctrl + W, X Full Screen Display shift + Alt + Enter Move Ctrl +- Forward positioning Ctrl + Shift +- Attribute page Shift + F4 Ctrl + W, Q Bookmark window Ctrl + W, B Command window Ctrl + W, Document outline Ctrl + W, U Resource view Ctrl + W, R Macro Resource Manager Alt + F8 Web browser Ctrl + W, W Rename F2 Extraction Method Ctrl + R, M Encapsulation field Ctrl + R, E Extract interface Ctrl + R, I Raise the local variable to the Ctrl + R, P parameter. Remove the Ctrl + R, V parameters. Rearrange the Ctrl + R, O Parameters Generate solution F6 Generate the current project Shift + F6 Start debugging F5 Continue F5 Ctrl + Alt + Break Stop debugging Shift + F5 Restart Ctrl + Shift + F5 Start executing (not debugging) Ctrl + F5 Exception Ctrl + D, E Statement by statement F11 Jump out of Shift + F11 Process by process F10 Switch breakpoint F9 Delete all breakpoints Ctrl + Shift + F9 Breakpoint Ctrl + D, B Instant Ctrl + D, I Fast monitoring Ctrl + D, Q Monitor 1 Ctrl + D, W Monitor 2 Ctrl + D + W, 2 Monitoring 3 Ctrl + D + W, 3 Monitoring 4 Ctrl + D + W, 4 Automatic window Ctrl + D, Local variables Ctrl + D, L Call Stack Ctrl + D, C Thread Ctrl + D, T Switch the current thread flag status Ctrl + 8 Display only the mark of the thread Ctrl + 9 Module Ctrl + D, M Process Ctrl + D, P Decompile Ctrl + Alt + D Register Ctrl + D, R Memory 1 Ctrl + D, Y Memory 2 Ctrl + Alt + M, 2 Memory 3 Ctrl + Alt + M, 3 Memory 4 Ctrl + Alt + M, 4 Attach to process Ctrl + Alt + P Code snippet manager Ctrl + K, Ctrl + B Run the macro Ctrl + Shift + P Record when front macro Ctrl + Shift + R Macro IDE Alt + F11 Test Ctrl + R, T in the current context All tests in solution Ctrl + R, How to Implement Ctrl + F1, H Search Ctrl + F1, S Directory Ctrl + F1, C Index Ctrl + F1, I Help favorites Ctrl + F1, F Dynamic help Ctrl + F1, D Index result Ctrl + F1, T |