Visual Studio. NET shortcut

Source: Internet
Author: User
Tags word wrap
Stingy gods

Article type: Information

Difficulty level: 0/9

Version: 1.16

This collection is inspired by my post "10 reasons for upgrading to Visual Studio. NET" posted on csdn a few days ago and "10 reasons for not upgrading to Visual Studio. NET". If you have other tips and tips, let me know and share them with you.ArticleWe recommend that you upgrade to. net; recommend it to. net people, no matter how familiar you are with it; recommend it to unfamiliar people, no matter how much you do not like Microsoft; recommend it 《ProgramStaff magazine, so that more people can see it on colored paper; recommend it to csdnCommunityTo all the friends who are willing to share and be enthusiastic about it.

Keys

Illustration and Explanation

"> Command" in mini-Buffer

+ You can execute some commands in this form, such as closing the current window.

CTRL-shift-g in mini-Buffer
CTRL-o in mini-Buffer

+ Press Ctrl-shift-g to open the objects. CS file Ctrl-o open dialog box

CTRL-Tab

CTRL-shift-Tab

+ Ctrl-Tab: switch to the current editing view. CTRL-shift-Tab: switch in the opposite direction.

CTRL +/

+ The mini-buffer is exceeded, and the ">" command prompt is displayed.

CTRL-Pageup in HTML design view

+ In ASP. NET project, open HTML View

CTRL-Pagedown in HTML source view

+ In Asp.net project, open to design view

F7 in Form Design view

+ OpenCodeEdit View Source view

Shift-F7 in form Source view

+ Open the form design view.

Alt-F6

+ Switch to the next printable panel and automatically jump from one tab to another.

CTRL-shift-B

+ Build your code or project

F5

Ctrl-F5

+ F5: Run in debug mode Ctrl-F5: run directly, but not in debug mode, ignore breakpoint.

F11

F10

+ F11: When debug is enabled, when a function F10: Debug is being called, it does not enter a specific function.

CTRL-B

Ctrl-Shift-F9

CTRL-alt-B

+ Ctrl-B: set or cancel the breakpoint Ctrl-Shift-F9 for the current row: Get all the breakpoints

+ Ctrl-alt-B: activates the breakpoint list, which is especially convenient for debugging.

F8

Shift-F8

+ In the compilation error view, navigate to the previous or next

CTRL-space when typing a symbol

+ Possible options are displayed. In the Chinese system, this button is often in conflict with the switching input method.

CTRL-space when entering arguments

+ When you type a function parameter, follow the prototype that can display the function parameter.

CTRL-K Ctrl-F

+ Reformat irregular text

CTRL-K Ctrl-K

CTRL-K Ctrl-n

CTRL-K Ctrl-P

+ Ctrl-K Ctrl-K: define and cancel a bookmarks

+ Ctrl-K Ctrl-N: switch to the next bookmarks Ctrl-K Ctrl-P: switch to the previous bookmarks

CTRL-K Ctrl-C

+ Annotate the selected code line

CTRL-K Ctrl-u

+ Remove the comments of the selected code lines

CTRL -}

+ Matches {}, (), and other pairs of tags

Shift-Ctrl -}

+ Select data between matched {} and ()

CTRL-l or Ctrl-y or shift-del

+ Delete the entire row where the cursor is located.

Ctrl-Shift-F12

+ The result of the next search, the next error, and the next task)

CTRL-"-"/Ctrl-shift -"-"

+ Ctrl-"-": place where the last time you worked

+ Ctrl-shift-"-": Click the next position of your current position (these locations are the places you have worked before)

CTRL-C in the Class View

+ Copy the full name to the memory. For example, if the project in the figure above is mytest, the full name in the memory will be mytest. webform1.page _ load. This function is very convenient when writing code and keeps pressing Ctrl-v.

CTRL-M Ctrl-m

+ Scale down or extend the region or outlined block in the code editing View

CTRL-M Ctrl-o

+ Contract all nodes in the current document

CTRL-M Ctrl-l

+ Expand all nodes in the current file

F12

+ The runout function or the definition of the current identifier is equivalent to go to definition in the preceding menu.

CTRL-G, line #, enter
Or

CTRL-D, line #, Ctrl-G

+ A line of Quick beat code editor

CTRL-I/Ctrl-shift-I + String

+ Adds the string to be searched, which is a secondary search relative to the current search.

+ Operations in the opposite direction of the above functions.

+ When performing these two operations, you can see a very special arrow icon on the interface. The two operations correspond to different searches.

CTRL-R + ctrl-R

+ Enable or disable the word wrap function of the Code Editor.

CTRL-alt-l

+ Switch to Solution Explorer

F4 or Alt-enter

+ Switch to the default option in the Properties window or an existing option

CTRL-alt-x

+ Open toolbox

CTRL-alt-S

+ OPEN Server Explorer

CTRL-alt-J

+ Open Object Browser

CTRL-shift-C

+ Open Class View

Not enough. Select this check box in the options, so you can see more

+ Select the optiong option, and then select the show shortcut keys in screentips option.

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.