About Visual Studio shortcut key grooming

Source: Internet
Author: User

VS2015 Common shortcut Key Summary:

New Solution: Ctrl+shift+n

Open Solution: Ctrl+shift+o, note: By default, the current solution is turned off, if you need to add in the current solution by pressing ALT+A in the open window

Save File Ctrl+s, save all Files Ctrl+shift+s

Build the solution F6, build the project Shift+f6

Debug execution F5, terminating debug execution Shift+f5

Perform Debug Ctrl+f5

Attach to process ctrl+alt+p, step over F10, execute F11 on a per-statement basis

Toggle Breakpoint F9 (Add or Cancel breakpoint)

Run to CTRL+F10 at cursor

Jump out of the current method shift+f11

View the Solution window Ctrl+w,ctrl+s

View Properties Window Ctrl+w,ctrl+p

Error List Display Ctrl+w,ctrl+e

Output List Display Ctrl+w,ctrl+o

Bookmark Window Ctrl+w,b

Toggle Bookmarks Ctrl+b,t

Switch to the next bookmark Ctrl+b,n

Switch to the previous bookmark ctrl+b,p

Clear Bookmark Ctrl+b,c

active window Toggle Ctrl+tab

browser window ctrl+w,w

Breakpoint Window Ctrl+d,b

Even if the window ctrl+d,i

Toolbox Ctrl+w,ctrl+x

Full screen toggle Shift+alt+enter, navigate backwards ctrl+-, navigate forward ctrl+shift+-

Add Class Shift+alt+c to the project

Add a new item to the project Ctrl+shift+a

Add an existing item to the project Shift+alt+a

Find Ctrl+f, find ctrl+shift+f in Files

Find the next F3, find the previous shift+f3

Incremental search ctrl+i, inverse incremental Search ctrl+shift+i

Replace Ctrl+h, replace ctrl+shift+h in file

Go to line number Ctrl+g

Shear Plate Loop CTRL+SHIFT+V Note: You can cycle through 20 items in the Clipboard, you can call anything you cut, just keep pressing the CTRL+SHIFT+V key until you find the one you want.

Cursor moves one word Ctrl + Left and right arrows

Scroll the Code screen, but do not move the cursor position CTRL + UP and down arrows

Delete Current line ctrl+shift+l

Hides or expands the currently nested collapsed state ctrl+m,m

All hidden or expanded nested ctrl+m,l

Collapse to Definition Ctrl+m,o

Toggle Display Blank Ctrl+e,s

Select rectangle Text shift+alt+ arrow key

Full capitalization: ctrl+shift+u all to lowercase ctrl+u

Force IntelliSense Ctrl+j

View method parameter information ctrl+shift+ spaces

View current Code Quick Info Ctrl+k,i

Note Select line ctrl+k,c or Ctrl+e,c

Uncomment line ctrl+k,u or Ctrl+e,u

Insert Code Snippet Ctrl+k,x

Insert the outer code snippet Ctrl+k,s

Go To Definition F12

Generate method Stub, cursor positioned on called method, press Shift+alt+f10

Display view implementation interface method, cursor positioning on the interface to be implemented by the class, press SHIFT+ALT+F10

View all references, ctrl+k,r

View Call Hierarchy Ctrl+k,t

In addition to these commonly used shortcuts, if developers want to see the system shortcut or expand their own shortcut keys, you can open vs-tools-Options

In the window, select "Environment"-"keyboard"

Search for the shortcut keys you want to add, such as adding the Add Comment shortcut

Position the cursor, press the shortcut key text box, press the shortcut key you want to use on the keyboard

Then click Assign

OK, it's done.

About Visual Studio shortcut key grooming

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.