The shortcut key of VS2015/Visual Studio is invalid.

Source: Internet
Author: User

The shortcut key of VS2015/Visual Studio is invalid.
0 solution to invalid VS2015 shortcut keys

The use of shortcut keys can greatly improve the encoding efficiency. VS has a lot of built-in combinations of common shortcut keys. In actual use, the shortcut keys may conflict with the installation of other software on the computer, there are two solutions to the failure of VS shortcut keys.

  • Modify shortcuts for other software
  • Modify the shortcut keys corresponding to

Most of the time, we cannot determine which software occupies a shortcut key combination, so modifying the shortcut key of VS is the most straightforward method.

Take the most common "auto-patching" shortcut key as an example. The default shortcut key is ctrl +. What should I do if I find that this shortcut key is useless one day? The shortcut key will inevitably have the corresponding mouse operation completion method. We place the mouse in the corresponding place, and the corresponding operation instructions will be displayed.

Of course, if you are using an English version, you will see an English command.

Select tool> Option to enter the option setting window.

Select the environment on the left-side Navigation Pane and enter the command name "quick operation and reconstruction" in the Command box on the right. The default shortcut for this command is Ctrl +.

Enter and press the shortcut key next to the new shortcut key, click Allocate, and click OK to make the new shortcut take effect. Here I change it to Ctrl + 'to ensure that the operation can be completed by one hand in the left hand.

The modification of a shortcut key is complete. For other shortcut keys, first obtain the command name of the shortcut key, and then set it.

1 VS common shortcut key collection

The following content comes from the network and is not verified one by one. VS of different versions will definitely be different. The most common one is to open the window, and the shortcut keys for code editing and debugging.

0 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

1. Project shortcut

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

2 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

3. Edit the shortcut key

Ctrl + E, D ---- format all code

Ctrl + E, F ---- format the selected code

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 ticket can be moved at a time

Word

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

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

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.