VC:
"Commands" tab, "keyboard" tab, category select macros, commentout, and pressNewShortcutKey ", set it by yourself, such as Ctrl + T
VS: Ctrl + k, CTRL + c
With common shortcut keys:
Shortcut Key
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 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
11. Press Ctrl + F10 = F5 to start debug.
12. Run Ctrl + F6 to view the code window cyclically. It feels like Ctrl + TAB.
13. Press Ctrl + F3 to find the selected content of the current cursor. It can be used with F3.
14. CTRL + F2 move focus to the class drop-down box
15. Alt + F7 = Ctrl + Tab
16. Alt + F11 open vs2005 and edit macro
17. Alt + F12 search = Ctrl + F