Vs general system shortcut keys

Source: Internet
Author: User

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 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

 

 

 

 

Vs system common shortcut keys:

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.
How to find a solution
View. Solution Explorer CTRL + ALT + L display Solution Explorer, which lists projects and files in the current solution
Show 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.
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

 

 

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.