Believe. NET developers want to be able to memorize a variety of VS shortcut keys to improve the efficiency of peacetime development, but suffer from memory ability is too poor and shortcut keys and special many, particularly annoying, so forget!
Below I will briefly introduce some of my memory vs shortcut key methods, I hope to help you.
1. Window shortcut keys
(We have not found that any of the shortcuts to the window hook has a W, that is because W for Windows is the meaning of the window)
Ctrl+w,w: Browser window (browse windows with Youdao Translation is window shopping so the shortcut key to open the browser window is naturally ctrl+w,w everyone think about why the W here represents the meaning of browsing the window, That's because you open the browser window by default, you will see a variety of Microsoft news and products to guide you to buy Microsoft products This is something haha)
Ctrl+w,s: Solution Manager (solution is solution)
Ctrl+w,c: Class View (classes are naturally class)
Ctrl+w,e: Error List (error is wrong)
Ctrl+w,o: Output view (output outputs) the apes who used the output window naturally know it's awesome. I think it's a pretty tough window.
Ctrl+w,p: Properties Window (property)
Ctrl+w,t: Task List (Task Task)
Ctrl+w,x: Toolbox (in fact, tools should be tool, but T has been occupied by the task list it is always a letter to use it haha naturally think of x people look at the size of X to know that it is in all directions Ah, Microsoft uses it to express our vs toolbox, but all sorts of tools have it. This is my blind.
Ctrl+w,b: Bookmark window (bookmark bookmarklets) The bookmark is actually very useful with the familiar apes must be put down on it
Ctrl+w,u: Document Outline
Ctrl+d,b: Breakpoint Window (Breakpoint breakpoint)
Ctrl+d,i: Instant window (instant immediately)
2. Project function shortcut keys
(First of all, oh, CTRL is mandatory function key shift has added function to the project)
CTRL + F6/ctrl + Tab The next document window is the active form switch (it is believed that the partners who have used the Windows operating system know that ALT + TAB means switching between tasks if the switch in the active tab of the different tasks is Ctrl+tab)
CTRL + SHIFT + F6/ctrl + SHIFT + Tab previous document window (in Windows system operation I believe you all know that SHIFT has the opposite function haha here embodies)
F7: View Code
Shift+f7: View the Form designer (coding people believe that the most used is in the view interface of the code interface switch that use it if you want to switch back to the view interface haha remember to add the opposite key shift)
Ctrl+shift+n: New Project (N is new meaning that if you need to force a new project in a project, it's natural to combine the keys ctrl+shift+n)
Ctrl+shift+o: Open item (O means open on behalf of)
CTRL + SHIFT + C displays the Class View window (c stands for the meaning of Class)
CTRL + F4 Close the document window (I believe we have used QQ to use ALT+F4 to close the current chat window to think of the Ctrl+tab in the Active tab window to know why close the current tab window is CTRL+F4)
CTRL + SHIFT + E to display the resource view (E for the meaning of Explorer Resource manager)
CTRL + SHIFT + B to build the solution (b means that the meaning of build is actually implemented with F6)
Shift+f6 indicates that the current project has been built (as stated above, using F6 can generate the entire solution that is, if it is the current project's build, then the function key shift is added)
F4 Display Properties Window
SHIFT + F4 Show Project Properties window
Ctrl+shift+s: Save All (S) means save the meaning of the save is because if it is only a single save ctrl+s with the entire project without any involvement of the concept should be said in the whole project so the key will naturally have Shift.
Ctrl+shift+a: New Item (A is the meaning of add)
Shift+alt+c: New Class (You can think of why the new class is Shift+alt+c C is naturally a class I believe that the usual coding work to add the most classes and the ALT key is the most we use the key space next to the small function key Shift is a function key related to the project so I don't have to go into my mind.
3. Bookmark related shortcut keys (I prefer to write something or make some marks when I like to read, so I write this department in advance)
(b stands for bookmarklets)
Ctrl+b,t Toggle Bookmark Switch (Toggle is trigger OH)
Ctrl+b,n move to Next bookmark (Next is next)
Ctrl+b,p: Move to the previous bookmark (the previous one is previous)
Ctrl+b,c: Clear All labels (C is clear)
4. Find related shortcut keys
Ctrl+f: Search (Find)
Ctrl+shift+f: Look up in a file (it has been mentioned that shift is in the project so if you need to find it in a file in your project, it's natural to have shift)
F3: Find Next (people who believe that they have used Windows systems know that F3 is the shortcut to find)
SHIFT+F3: Find the previous (shift here has reverse function OH)
Ctrl+h: Replace
Ctrl+shift+h: Replace in file
5. Code shortcut keys
Ctrl+e,d (ctrl+k,d)----formatting all the code (anyone who has used vs will not be able to use this shortcut, but that's a big loss.)
Ctrl+e,f----Formatting the selected code (if you've already remembered that ctrl+e+d is formatting all the code, then you know the rules, don't you? F not on the right side of D to indicate that it is a specific range)
Ctrl+k,c: Comment Selection
Ctrl+k,u: Deselect comments (normal comments and anti-comments everyone believes that the more mundane kernel core content C means Comment selected text U means uncomment selected text) /c1>
Ctrl+j/ctrl+k,l: Smart Tips List Members (kernel core content list if we want to see the details of the members that an object has, try this shortcut)
Ctrl+k,p: Parameter information (kernel core content parameters parameters if we want to see the specific parameters of a method, this key combination is useful.)
Ctrl+k,i: Quick Info
Ctrl+k,x: Inserting Code Snippets
Ctrl+k,s: Insert the outside code (usually personal habits will occasionally use #region with the region after the code looks particularly neat, so naturally used to this)
CTRL + M, CTRL + M collapses or expands the current method
CTRL + M, CTRL + O collapse All methods
CTRL + M, CTRL + L Expand All methods
Ctrl+m,p: Stop outlining (use region to fold the code and try this set of keys to experience the thrill of folding and unfolding. Look at the comfortable code I believe you remember this is definitely worth the shortcut key)
CTRL+SHIFT+F10: Automatically add a using namespace
Insert Automatic attribute: Press TAB twice after entering prop
6. Debugging shortcut keys
F5: Start Debugging
Ctrl+f5: Start execution (without debugging)
SHIFT+F5: Stop Debugging
Ctrl+shift+f5: Restart debugging
F9: Toggle Breakpoint
CTRL+F9: Enable/Stop breakpoints
CTRL+SHIFT+F9: Delete all breakpoints
F10: Process-by-step
CTRL+F10: Run to Cursor
F11: Per-statement
7. Edit shortcut keys
Shift+alt+enter: Toggle Full Screen editing (if you want to have a full-on write-only code to make the entire vs full-screen feel good.)
F12: Go to the definition of the called procedure or variable
ALT+F12: Find Symbol (List all find results)
SHIFT+F12: Find All references (place the cursor on the word and press SHIFT + F12)
Ctrl+u: All changed to lowercase (personal favorite This set of shortcuts because it is written in SQL Server and then pasted into vs.) Understand the fur of some SQL statements performance optimization It is unavoidable to convert all pasted SQL statements to uppercase to improve Ness performance.
Ctrl+shift+u: All uppercase (U = upper)
Ctrl+shift+v: Clipboard loop (usually we are only accustomed to using CTRL + C and CTRL + V you may not know the fact that Microsoft has been helping us to save the results of many cuts down this set of shortcut keys can be pasted a few times the results of the cut will know its strong and powerful place)
Ctrl+shift+l: Delete the current row (this is very useful oh because people often want to delete the extra empty line haha this set of shortcuts will save you a lot of effort)
Ctrl+e,s: View white space (ctrl+r,w as you can see white space or Show or hide tab marks)
Ctrl+e,w: Automatic line wrapping (this group of shortcuts is really too convenient, the usual line of code is too long and always want to pull the scroll bar with the group shortcut key can be released from the mouse hand)
Ctrl+g: Go to the specified line (in case we want to jump to a specific line to use it too convenient)
shift+alt+ arrow key: Select Rectangle text
ALT + left mouse button: Select rectangle text
CTRL + DELETE Delete to ending
CTRL + backspace Delete to prefix
SHIFT + TAB to cancel tabs
CTRL + LEFT and RIGHT arrow keys: One word can be moved at a time
CTRL + CLICK: Select the entire word for the current click
SHIFT + End Select to end of line
SHIFT + Home selection to start at line
CTRL + SHIFT + END selection to end of document
CTRL + SHIFT + Home selection to start at the end of the document
CTRL + SHIFT + PAGE Up Select to the front of this page
CTRL + SHIFT + PAGE DOWN select to the back of this page
CTRL + PAGE down cursor positioned above window
CTRL + PAGE up cursor positioned below window
CTRL + End document anchored to last
CTRL + Home Document navigates to the front
Press TAB twice to quickly insert a code snippet (write for, foreach Loop, or try, and bind event method)
CTRL + Minus: Fall back to the last position of the cursor (this is really useful)
(hopefully this article will help you remember some common shortcuts.)
Special statement, the article in the picture is borrowed from the picture of the small tank, I caishuxueqian do not come such a good picture, so ...
Hope that the use of shortcut keys can help you improve work efficiency! Ha ha
VS2010 shortcut Keys Daquan