VS shortcut keys, vs shortcut keys

Source: Internet
Author: User

VS shortcut keys, vs shortcut keys

 

I believe that. Net developers want to be able to memorize various VS shortcut keys to improve the development efficiency at ordinary times. However, they suffer from poor memory capabilities, and there are many shortcut keys, which are especially annoying!

Below I will briefly introduce some methods for memorizing VS shortcuts, and hope to help you.

1. Window shortcut

(Do you find that there is a W shortcut key used to hook Windows? That's because W represents Windows)

Ctrl + W, W: browser window (window shopping is used to browse the window. Therefore, the shortcut key to open the browser window is Ctrl + W, w. Let's think about why w represents the meaning of the window browsing, because by default, you open the browser window to let everyone see various Microsoft news and products to guide everyone to buy Microsoft products)

Ctrl + W, S: Solution Manager (Solution is Solution) Ctrl + W, C: Class View (Class is naturally Class) Ctrl + W, E: error List (Error: Error) Ctrl + W, O: Output view (Output) those who have used the output window will naturally know how powerful it is. I think it is a very powerful window Ctrl + W, P: attribute window (attribute Property) Ctrl + W, T: task List (Task) Ctrl + W, X: toolbox (in fact, the Tool should be Tool, but t has been occupied by the task list. You always need to find a letter. Haha, naturally, we thought of X. You can see it when you look at X's shape, but it's a perfect combination. microsoft naturally wants to express our VS toolbox, but all kinds of tools are available. I am confused about this) ctrl + W, B: the Bookmark window (Bookmark) bookmarks are actually quite useful. You must be familiar with them. Ctrl + W, U: document outline Ctrl + D, b: breakpoint window (breakpoint)

Ctrl + D, I: instant window (instant immediately)

2. Project function shortcut

(To sum up, press ctrl to force the function key shift to add functions to the project)

CTRL + F6/CTRL + TAB the next document window is the activity form switch (I believe that all the friends who have used the windows operating system know that alt + tab indicates switching between tasks. If there are different tasks in the window switch in the tag is ctrl + tab) CTRL + SHIFT + F6/CTRL + SHIFT + TAB on the document window (in windows operating systems, we believe everyone knows that shift has the opposite function. Haha is here)

F7: Check the code Shift + F7: view the Form Designer (coding users believe that the most used is to switch the code interface on the View Interface. If you want to switch back to the View Interface, remember to add the opposite key shift)

 

Ctrl + Shift + N: Create a project (N indicates New creation. If you want to force a New project to be created in the project, press Ctrl + Shift + N) Ctrl + Shift + O: open a project (O indicates opening a project)

CTRL + SHIFT + C display Class View window (C Represents the meaning of Class)

CTRL + F4 close the document window (I believe anyone who has used qq will use alt + f4 to close the current chat window. Think about how to close the current tag by using ctrl + tab IN THE ACTIVITY tag window. the window is ctrl + f4)

CTRL + SHIFT + E display the resource view (meaning of the E-generation table Explorer Resource Manager)

CTRL + SHIFT + B generate the solution (B indicates that Build can actually be implemented using F6)

Shift + F6 indicates to generate the current project (as mentioned above, f6 can be used to generate the entire solution. If the current project is generated, the function key shift is added)

F4 Display Properties window SHIFT + F4 display Project Properties window

Ctrl + Shift + S: save all (S indicates Save meaning here it means Save all because the concept of saving all is in the whole project if only Ctrl + S is saved for a single project. shift will naturally occur in the key combination)

Ctrl + Shift + A: new item (A indicates Add)

Shift + Alt + C: create a new class (You may wonder why the new class is shift + alt + c. Naturally, it is class. I believe that the most classes are added in the coding work and the most alt keys are used in our daily work. the small function key next to the Space key shift is the function key related to the project)

3. Key Related to bookmarks (I prefer to write something or make some marks when reading books, so I should write this department in advance)

(B stands for Bookmark)

Ctrl + B, T Switch bookmarks (switch to trigger)

Ctrl + B, N move to the Next bookmarks (Next is Next) Ctrl + B, P: Move to the Previous bookmarks (Previous is Previous) Ctrl + B, C: clear all labels (C is Clear)

4. Search for related shortcuts

Ctrl + F: Find Ctrl + Shift + F: search in the file (previously mentioned shift indicates that it is in the project, so if you need to find the file in the project, then Shift is indispensable) F3: find the next one (I believe anyone who has used the windows system knows that f3 is the shortcut key) Shift + F3: Find the previous one (shift has the reverse function here) Ctrl + H: replace Ctrl + Shift + H: Replace in the file

5. Code shortcut

Ctrl + E, D (ctrl + k, d) ---- format all the code (if anyone who has used vs does not use this shortcut key, it's a big loss)

Ctrl + E, F ---- format the selected code. (If you have remembered that Ctrl + E + D is used to format all the code, do you have to think about the regular expression? F doesn't mean that it is a specific code on the right side of D. scope 1)

 

Ctrl + K, C: comment the selected content Ctrl + K, U: cancel the selected comments (common comments and reverse comments are believed to be ordinary. The core content of kernel c indicates Comment selected text utable shows Uncomment selected text)

Ctrl + J/Ctrl + K, L: intelligently displays the list of members. (If you want to view the list of members of an object, try this shortcut key)

Ctrl + K, P: parameter information (the Parameters parameter of the core content of the kernel is useful if we want to view the specific Parameters of a method)

Ctrl + K, I: quick information

 

Ctrl + K, X: insert code segment Ctrl + K, S: insert external code (I usually use region from time to time. # After region is used, the code looks very neat, So I naturally get used to it)

 

 

CTRL + M, CTRL + M fold or expand the current method

CTRL + M, CTRL + O fold all methods

CTRL + M, CTRL + L show all methods

Ctrl + M, P: stop outline display (after using region to fold the code, try using this set of key combinations to experience the fold and unfold pleasure. Look at the comfortable code. I believe you will remember that this pair of shortcut keys is definitely worth it)

 

Ctrl + shift + f10: automatically add the using namespace

Insert automatic attributes: Enter prop and press tab twice

6. debugging shortcuts
F5: start debugging Ctrl + F5: start execution (not debugging) Shift + F5: Stop debugging Ctrl + Shift + F5: restart debugging

F9: Switch breakpoint Ctrl + F9: Enable/Stop breakpoint Ctrl + Shift + F9: delete all breakpoints

F10: Process by process Ctrl + F10: run to the cursor F11: statement by statement

7. Edit shortcutsShift + Alt + Enter: Switch to full-screen editing (if you want to write only the code to make the entire vs full screen feel good)

F12: Go to the definition of the called process or variable

Alt + F12: Search symbols (list all search results)

Shift + f12: Find all references (place the cursor on the word, and then press Shift + F12)

Ctrl + U: change all to lower case (I like this set of shortcuts most, because SQL statements are usually written in sqlserver and then pasted into vs to learn about the basic knowledge of SQL statement performance optimization. inevitably, I want to convert all the pasted SQL statements into uppercase statements to Improve the Performance of Ding)

Ctrl + Shift + U: Convert all to uppercase (Upper)

Ctrl + Shift + V: clipboard loop (usually we are used to using ctrl + c and ctrl + v. You may not know that, in fact, Microsoft has helped us save the cut results and write down this set of shortcuts. you can paste the results of the previous cut to know its strength)

Ctrl + Shift + L: Delete the current row (this is very useful, because we often want to delete Extra blank lines. Haha, this set of shortcuts will save you a lot of effort)

Ctrl + E, S: view the blank space (ctrl + r, w can view the blank space or display or hide the tab mark like it)

Ctrl + E, W: automatic line feed (this set of shortcut keys is really too convenient, usually a line of code is too long, and then you always need to pull the scroll bar and use a group of shortcut keys to free your hands from the mouse)

Ctrl + G: Go to the specified row (in this case, it is too convenient to jump to a specific row)

Shift + Alt + Arrow: select the rectangular text Alt + the left button: select the rectangular text

CTRL + DELETE to end CTRL + backspace delete to head SHIFT + TAB cancel TAB

Ctrl + left and right arrow keys: One word can be moved at a time

Ctrl + Click: select the entire word currently clicked

SHIFT + END select to end shift + HOME select to start line

CTRL + SHIFT + END select to END of the Document CTRL + SHIFT + HOME select to END of the document

CTRL + SHIFT + page up select to the front of this page ctrl + SHIFT + page down select to the end of this PAGE

CTRL + page down cursor positioned above the window CTRL + page up cursor positioned below the window

CTRL + END document locate final CTRL + HOME document locate to the beginning

Press tab twice to quickly Insert the code segment (write for, foreach loop, or try, and bind event Method)

Ctrl + minus sign: Roll Back To The cursor position (this is really useful)

(I hope this article will help you remember some common shortcut keys)

In particular, the pictures in the article refer to pictures of small tanks, so I can't make such good pictures, so ......

We hope that the use of shortcut keys can help you improve your work efficiency! Haha
From: http://www.cnblogs.com/liyunhua/p/4537054.html

Related Article

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.