vs shortcut Keys Daquan

Source: Internet
Author: User

Objective

As a. NET developer, are you still using the mouse to click on the appropriate action? If you answer yes, then you are too low!

A very powerful programmer will not be the kind of people who are crazy about the mouse, they will definitely have a lot of shortcut keys, so in order to get closer to them, we must learn shortcut keys.

I'll talk about the VS shortcuts and how to remember them:

    1. Window shortcut keys

the window 's words are windows, so some shortcuts for what windows are open are ctrl+w plus others;

Here are some of the shortcut keys for Windows:   

    • Ctrl+w,s: Solution Manager (solution is solution)
    • Ctrl+w,c: Class View (Classes are Class)
    • Ctrl+w,e: Error List (error is wrong)
    • Ctrl+w,o: Output view (outputs are output)
    • Ctrl+w,p: Properties Window (property)
    • Ctrl+w,t: Task List (tasks are task)
    • Ctrl+w,x: Toolbox (I wonder why it's not a tool, maybe X is good too)
    • Ctrl+w,b: Bookmark window (bookmarks are bookmark)
    • Ctrl+w,u: Document Outline (documents, not starting with D because U can make us think of the word docuemnt)
    • Ctrl+d,b: Breakpoint window (breakpoint is breakpoint)
    • Ctrl+d,i: Instant window (instant is immediately)

2. code shortcut keys

There is no common trait on this whole, only one to remember

    • Ctrl+j/ctrl+k,l: List members (kernel core content list)
    • ctrl+shift+ SPACEBAR/CTRL+K,P: Parameter information (P is the meaning of the attribute parameter, kernel core content parameters parameter)
    • Ctrl+k,i: Quick Info
    • Ctrl+e,c/ctrl+k,c: Comment Selection
    • Ctrl+e,u/ctrl+k,u: Deselect Comment content
    • Ctrl+k,m: Generate Method Stub
    • Ctrl+k,x: Inserting Code Snippets
    • Ctrl+k,s: Inserting the outer code
    • F12: Go to the definition of the called procedure or variable
    • Ctrl+e,d: Formatting code

3. Bookmark-related Code

Book books so all are ctr+b beginning, this is really good, when you use ripe you feel very useful. Though I don't know how to cook

    • Ctrl+b,t/ctrl+k,k: Toggle Bookmark Switch (T is trigger)
    • Ctrl+b,n/ctrl+k,n: Move to Next Bookmark (N is next)
    • Ctrl+b,p: Move to previous bookmark (P for previous)
    • Ctrl+b,c: Clear all labels (C for clear)

4. Other Operations

  • Ctrl+shift+v: Clipboard Looping
  • CTRL + LEFT and RIGHT arrow keys: One word can be moved at a time
  • CTRL + UP and DOWN ARROW keys: Scrolls the code screen, but does not move the cursor position.
  • Ctrl+shift+l: Delete When moving forward
  • Ctrl+m,m: Hides or expands the currently nested collapsed state
  • CTRL+M,L: Set all procedures to the same hidden or expanded state
  • Ctrl+m,p: Stopping outline display
  • Ctrl+e,s: View Blank
  • Ctrl+e,w: Wrap Line
  • Ctrl+g: Go to the specified line
  • shift+alt+ arrow key: Select Rectangle text
  • ALT + left mouse button: Select rectangle text
  • Ctrl+shift+u: All Uppercase
  • ctrl+u: All turns lowercase   

5. Project shortcut keys


This is a direct paste of other people's feeling is also good.

Command name

Shortcut keys

Description

Build. Build Solution

CTRL + SHIFT + B

Build all the projects in the solution using the current solution configuration.

File. New file

CTRL + SHIFT + N

Displays the new File dialog box, where you can select a new file to add to the current project.

File. New Project

CTRL + N

Displays a submenu that lists the types of items that you can add to the currently open project. The icon changes to the previous item type that was added.

File. Open File

CTRL + SHIFT + O

Displays the Open File dialog box, where you can select an existing file to open.

File. Open Project

CTRL + O

Displays the Open Project dialog box, where you can add new or existing projects to your solution.

Project. Adding an existing Item

CTRL + SHIFT + D

Displays the Add Existing Item dialog box.

Project. Adding a new item

CTRL + D

Displays the Add New Item dialog box, which enables you to select an item to add to the current project.

vs shortcut Keys Daquan

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.