vs2010 shortcut Keys Daquan

Source: Internet
Author: User
Tags form post visual studio 2010

vs2010 shortcut Keys Daquan

VS2010 Edition Shortcut ctrl+e,d----formatting all code ctrl+e,f----formatting the selected code CTRL + SHIFT + B Build Solution Ctrl + F7 build Compile Ctrl + O Open File Ctrl + SHIFT + o Open Project ct RL + SHIFT + C Display Class View window F4 Display Properties window SHIFT + F4 Display Item Properties window CTRL + SHIFT + E display resource View F12 go To Definition Ctrl + F12 go to declaration Ctrl + ALT + J Object Browse 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 Ctrl +-Navigate backward Ctrl + SHIFT +-Position Ctrl forward + F4 Close the document window CTRL + PAGE DOWN cursor to the top of the window CTRL + PAGE UP cursor positioned to the bottom of the window Ctrl + F6ctrl + TAB next document window Ctrl + SHIFT + F6ctrl + SHIFT + TAB Previous Document window ALT + F6 next panel window Ctrl + K, CTRL + L Cancel Remarkctrl + K, CTRL + C comment Select Code CTRL + K, CTRL + U deselect comments on Selection code CTRL + M, CTRL + O collapse Code definition CTRL + M, CTRL + L expand Code Definition CTRL + DELETE Delete to final CTRL + BACKSPACE delete to prefix SHIFT + TAB Cancel Tabs Ctrl + U turn Lowercase Ctrl + SHIFT + U turn caps CTRL + SHIFT + End Select to end of document CTRL + SHIFT + HOME Select to end of document SHIFT + END Select to line end SHIFT + Home Select to line start SHIFT + ALT + END Vertical Select to last SHIFT + ALT + HOME Vertical selection To the front Ctrl + SHIFT + PAGE UP Select to front of this page CTRL + SHIFT + PAGE DOWN select to the back of this page Ctrl + END document Navigate to last Ctrl + Home document navigate to top Ctrl + a Select all Ctrl + W Choose Current single Word Ctrl + G go to ... CTRL + K, CTRL + P prev Tab CTRL + K, CTRL + N next label ALT + F10 Debug-applycodechangesctrl + ALT + BREAK stop Debug Ctrl + SHIFT + F9 cancel all breakpoints Ctrl + F9 allow Interrupt ct RL + SHIFT + F5 Debug-restart F5 Run Debug Ctrl + F5 run without Debugging F10 step through program execution F11 stepping through CTRL + J List Members Ctrl + PAGE down next View Ctrl + B format-Bold CTRL + SHIFT + T Format-Text indent debug Shortcut F6: Build Solution Ctrl+f6: Build the current project F7: View Code shift+f7: View the form designer F5: Start Debugging Ctrl+f5: Start (not debug) Shift+f5: Stop Debugging Ctrl+shift+f5: Restart Debug F9: Toggle Breakpoint Ctrl+f9: Enable/Stop breakpoint CTRL+SHIFT+F9: Delete all breakpoints F10: Step over CTRL+F10: Run to Cursor F11: Edit shortcut key by Statement shift+alt+enter: Toggle fullscreen editing Ctrl+b,t /ctrl+k,k: Toggle Bookmark Switch Ctrl+b,n/ctrl+k,n: Move to Next bookmark ctrl+b,p: Move to previous bookmark Ctrl+b,c: Clear All Tags ctrl+i: Incremental search ctrl+shift+i: Reverse Incremental Search Ctrl+f : Find ctrl+shift+f: Find F3 in file: Find Next Shift+f3: Find previous ctrl+h: replace ctrl+shift+h: Replace alt+f12 in file: Find Symbol (List all find results) Ctrl+shift+v: Clipboard Loop Ctrl + LEFT and RIGHT arrow keys: You can move one word at a time Ctrl + UP and DOWN ARROW keys: Scroll the Code screen without moving the cursor position. Ctrl+shift+l: Delete Current row 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: Stop outlining ctrl+e,s: View the blank ctrl+e,w: Wrap 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 becomes lowercase code shortcut keys ctrl+j/ctrl+k,l: List Members CTRL+shift+ SPACEBAR/ctrl+k,p: Parameter information 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 snippet ctrl+k,s: inserting an outer code F12: Go to the Definition window shortcut key for the procedure or variable you are calling 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: Properties Window ctrl+w,t: Task List ctrl+w,x: Toolbox ctrl+w,b: Bookmark window ctrl+w,u: Document Outline ctrl+d,b: Breakpoint window ctrl+d,i: Instant window Ctrl+tab: Active form Switch ctrl+shift+n: New project Ctrl+shift+o: Open Project Ctrl+shift+s: Save All Shift+alt+c: New class Ctrl+shift+a: Hidden shortcut keys for new item VS2005 Here I will share some of the shortcut keys that were inadvertently found in the VS2005, not all shortcuts, or some of the common shortcut keys. 1, Ctrl+space directly complete the class or function (originally this is not a hidden shortcut key, but because the Chinese input method to preempt this shortcut, so ... , the alternate shortcut is Alt+right) 2, shift+delete the entire row to delete, and put this line to the Clipboard (at this time can not select a section of content) 3, Shift+insert paste, a little strange, Ctrl + V can be, presumably for and shift+ Delete corresponding to the bar 4, Ctrl+up,ctrl+down Scroll editor, but try not to move the cursor, the cursor is guaranteed within the visible range 5, Ctrl+backspace,ctrl+delete whole word deleted, sometimes very useful 6, ctrl+left,ctrl+ Right moves the cursor by the whole word (not hidden, and the first few add up is the CTRL cursor Control suite) 7, ALT+SHIFT+F10 open to perform renaming, implement interface and abstract class small window (also can use CTRL +, but some Chinese input method used to this) 8, shift+ F9 debugging is to open QuickWatch, content is the current cursor where the content 9, F12 jump to the definition, very useful shortcut keys 10, shift+f12 find all references---------------------------------------VS2008 Shortcut keys Daquan----------------------------ctrl+m+crtr+o collapse All outline ctrl+m+crtr+p: Stop outlining Ctrl+k+crtr+c: Comment on the selection ctrl+k+crtr+u: Deselect comment Content ctrl+j: List member IntelliSense shift+alt+enter: Toggle Full Screen editing ctrl+b,t/ctrl+k,k: Toggle Bookmark Switch Ctrl+b,n/ctrl+k,n: Move to Next bookmark ctrl+b,p: Move to previous bookmark Ctrl+b,c: Clear All Tags ctrl+i: Incremental search ctrl+shift+i: Reverse Incremental Search ctrl+f: Find ctrl+shift+f: Find F3 in a file: Find the next shift+f3: Find the previous ctrl+h: replace CTRL +shift+h: Replace alt+f12 in file: Find Symbol (List all find results) Ctrl+shift+v: Clipboard Loop Ctrl + LEFT and RIGHT arrow keys: You can move one word at a time Ctrl + UP and DOWN ARROW keys: Scroll the Code screen without moving the cursor position. Ctrl+shift+l: Delete Current row 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+e,s: View blank ctrl+e,w: Wrap 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 becomes lowercase code shortcut ctrl+shift+ SPACEBAR/ctrl+k,p: Parameter information Ctrl +k,i: Quick Info ctrl+e,u/ctrl+k,u: Deselect comments ctrl+k,m: Generate Method Stub ctrl+k,x: Insert Snippet ctrl+k,s: Insert outside code F12: Go to the Definition window shortcut key for the called procedure or variable 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 trl+w,p: Properties Window ctrl+w,t: Task List ctrl+w,x: Toolbox ctrl+w,b: Bookmark Window Ctrl+w,u: Document Outline ctrl+d,b: Breakpoints window ctrl+d,i: Immediate Window Ctrl+tab: active form Toggle Ctrl+shift+n: New Item CTRL+shift+o: Open Project Ctrl+shift+s: Save All Shift+alt+c: New class Ctrl+shift+a: New Item Shift+alt+enter: Toggle fullscreen edit ctrl+b,t/ctrl+k,k: Toggle Bookmark Switch Ctrl+b,n/ctrl+k,n: Move to Next bookmark ctrl+b,p: Move to previous bookmark Ctrl+b,c: Clear All Tags ctrl+i: Incremental search ctrl+shift+i: Reverse Incremental Search ctrl+f: Find Ctrl + Shift+f: Find in Files  

Turn from:

Http://www.cnblogs.com/ruson/archive/2010/09/16/1827816.html

F3: Find the next

SHIFT+F3: Find Previous ctrl+h: replace ctrl+shift+h: Replace alt+f12 in file: Find Symbol (List all find results) Ctrl+shift+v: Clipboard Loop Ctrl + LEFT and RIGHT arrow keys: You can move one word at a time CTRL + Up and DOWN ARROW keys: Scrolls the code screen, but does not move the cursor position. Ctrl+shift+l: Delete Current row 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: Stop outlining ctrl+e,s: View the blank ctrl+e,w: Wrap 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 becomes lowercase

I would like to share all of the visual Studio 2005 Shortcuts I have accumulated here, and I hope that we can help you.

With my many experiments, the shortcut keys in VS 2005 are also recognizable in VS 2008 and 2010, but vs 2008 and 2010 define their new shortcut keys. This is necessary: make improvements to existing shortcuts and ensure that people who are accustomed to using the VS 2005 Shortcut will not lose their productivity.

Code writing

Shift + Alt + Ente-Full screen display

Shift + Alt + F10-There are three kinds of effects:

1. When the interface is implemented, press to open the option to implement the interface;

2. When modifying a variable, method, class, and so on, turn on the Rename option;

3. When you have finished writing an object that is not using, open the Using option.

Ctrl + R + E-Encapsulate Field (VS 2008 has basically no need for this shortcut because C # 3.0 's Auto-attribute –auto-implemented properties)

Ctrl + J-List members, including code hints only

Ctrl + Shift + Space-Display parameter information

Tab (Double-click)-Completes the code block, for example, after try, for, do, and press

Ctrl + K + S-outside code, including code block templates only

F6/ctrl + Shift + B-Build Solution

F7-Jump to the form post code, WinForm, WebForm, can also jump back to Design view in WinForm

Shift + F7-Jump back to Design view in WebForm's post code

F8-sequentially toggles the error location in the current file

F12-Go To Definition

Ctrl + _-Go To Definition and return

Ctrl + Shift + _-go To Definition again

Ctrl + Tab-Toggles the currently open active window (code and view design interface, etc.)

Quick Code Templates

"CW" + TAB + tab-console.writeline ();

"Mbox" + Tab + tab-messagebox.show ();

"Prop" + TAB + Tab-property block with get, set accessor

"PROPG" + TAB + TAB-read-only property fast

"Propfull" + tabl + Tab-fast property with full get, set accessor

Code manipulation

Ctrl + K + C-Comments

Ctrl + K + U-Uncomment

Ctrl +]-look for matching parentheses

Ctrl + Shift +]-Select the matching parentheses with the code in it

Ctrl + F-Quick Find

Ctrl + H-Quick Replace

Ctrl + Shift + U-Convert to uppercase

Ctrl + U-Convert to lowercase

Ctrl + K + D-formatting documents

Tab-Increase Indent

Shift + Tab-Decrease Indent

Ctrl + M + M-collapse code, such as placing the cursor in the position of the #region, if, method header, will collapse them

Ctrl +. -Bring up the using menu

Ctrl + E + S-view whitespace (convert spaces to green points, especially handy when looking for extra spaces)

Debug Run

F5-Start debugging

Shift + F5-Stop Debugging

F9-setting breakpoints

Ctrl + Shift + F9-Delete all breakpoints

F10-Process-by-step debugging

F11-sentence-by-statement debugging

Operation of the project

Alt + Enter-Opens the Properties dialog box for the selected item

Ctrl + Shift + N-New project

Shift + Alt + N-New web site

Ctrl + N-New file

Ctrl + Shift + O-Open Project

Shift + Alt + O-Open Web site

Ctrl + O-Open File

Ctrl + Shift + A-Add new items to the project

Shift + Alt + A-Add an existing item to the project

Shift + Alt + C-Add a class to your project

View Call

F4-Properties

Ctrl + Alt + X-Toolbox

Ctrl + Alt + L-Solution Explorer

Ctrl + Alt + S-Server Explorer

Skills

1. Start VS, you can enter "devenv" in the operation;

2. Double-click the Control tool to add the control automatically;

3. Alt + arrow key-the size of the control can be adjusted with the arrow keys;

4. Direction key-Adjust the position of the control;

5. Hold down ALT to select the code in a rectangular way;

6. Remove unwanted Namespaces (Visual Studio 2008 and Visual Studio 2010 apply)

Typically, a class is created, and Visual studio automatically introduces you to System, System.Collections.Generic, System.Text, 3 namespaces, but not necessarily all of them after they are created. And when creating WinForm, WebForm will introduce more unwanted namespaces, keep them too occupied, Visual Studio has already prepared this feature for us, in the class right-click, select: "Organization using" > "Remove and Sort", You can remove the namespaces that you do not need and arrange the namespaces in alphabetical order.

7. Automatic using namespace (shortcut key Ctrl +.):

Usually the code is written for a long time, and you need to use a non-using object later, you need to go back to the code's head to the using, and then go back to writing: How painful it is!

This painful thing vs can be completely agent, first make sure that the name of the object must be written to:

At this point, you can see that there is no using the System.IO, Directory is the red line, you can notice that there is a small rectangle at the beginning, the mouse move up, you can see the options:

Selecting the using System.IO will use the namespace at the top, and selecting System.IO.Directory will add System.IO to the directory and complement the reference.

There is a second way: Right-click on unreferenced objects and select Resolve (parse) to see the same options:

8. Auto-Complete properties

Are you still writing code snippets like this?

publicstringProperty { get; set; }

After entering prop only, press TAB two times to automatically generate:

publicintMyProperty { get; set; }

All we have to do is tab, change.

Original link: http://www.cnblogs.com/ju2ender/archive/2009/10/04/visual_studio_vs_csharp.html

VS2008 shortcut keys DaquanCtrl+m+crtr+o Collapse All outlines ctrl+m+crtr+p: Stop outlining ctrl+k+crtr+c: Comment selection ctrl+k+crtr+u: Deselect comment content ctrl+j: List member IntelliSense shift+alt+ Enter: Toggle fullscreen edit ctrl+b,t/ctrl+k,k: Toggle Bookmark Switch Ctrl+b,n/ctrl+k,n: Move to Next bookmark ctrl+b,p: Move to previous bookmark Ctrl+b,c: Clear All Tags ctrl+i: progressive search Ct Rl+shift+i: Reverse Incremental Search ctrl+f: Find ctrl+shift+f: Find F3 in file: Find Next Shift+f3: Find previous ctrl+h: replace ctrl+shift+h: Replace alt+f12 in file: Finder (List all Find results) Ctrl+shift+v: Clipboard Loop Ctrl + LEFT and RIGHT arrow keys: You can move one word at a time Ctrl + UP and DOWN ARROW keys: Scroll the Code screen without moving the cursor position. Ctrl+shift+l: Delete Current row 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+e,s: View blank ctrl+e,w: Wrap 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 becomes lowercase code fast Key ctrl+shift+ SPACEBAR/ctrl+k,p: Parameter information ctrl+k,i: Quick Info ctrl+e,u/ctrl+k,u: Deselect comment content ctrl+k,m: Generate Method Stub ctrl+k,x: Insert Snippet Ctrl+k,s: Insert the outer code F12: Go to the Definition window shortcut key for the called procedure or variable 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 trl+w,p: Properties Window Ctrl+w,t: Task List ctrl+w,x: Toolbox ctrl+w,b: Bookmark window ctrl+w,u: Document Outline ctrl+d,b: Breakpoint window ctrl+d,i: Instant window Ctrl+tab: active form Toggle Ctrl+shift+n: New Project Ctrl+shift+o: Open Project Ctrl+shift+s: Save All Shift+alt+c: New class Ctrl+shift+a: New Item Shift+alt+enter: Toggle fullscreen edit ctrl+b,t/ctrl+k,k: Cut Change Bookmark Switch ctrl+b,n/ctrl+k,n: Move to Next bookmark ctrl+b,p: Move to previous bookmark Ctrl+b,c: Clear All Tags ctrl+i: Incremental search ctrl+shift+i: Reverse progressive search ctrl+f: Find Ctrl + Shift+f: Find F3 in file: Find Next Shift+f3: Find previous ctrl+h: replace ctrl+shift+h: Replace alt+f12 in file: Find Symbol (List all find results) Ctrl+shift+v: Clipboard loop Ctrl + Left and RIGHT arrow keys: You can move one word at a time Ctrl + UP and DOWN ARROW keys: Scroll the Code screen without moving the cursor position. Ctrl+shift+l: Delete Current row 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: Stop Outlining Ctrl+e,S: View blank ctrl+e,w: Wrap 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 becomes lowercase
Other Related:Turn from:http://www.cnblogs.com/pumaboyd/archive/2008/06/13/1210797.html

first of all, there are two places to note: 1: "Show shortcuts in ScreenTips", tools----Customize the shortcut keys for easy memory. This is the default setting. 2: Import Export settings, tools. Here is the default setting for the entire Vsstudio environment, I am designing the shortcut keys under "C # Environment", if you find that the shortcut keys you use are very large, please change the correct environment.

Basic information, the story begins: A Sunday morning, suddenly found that the mouse is missing. Maybe it was the cat from the next house. Momentary nasty, no way, also can only use the keyboard to start Vsstudio. Start-up procedures in a search, if the program too many, hey, eyes are looking for flowers. Still in such a backward way to start the IDE, with shortcut keys AH. is still the default, not set. If you want to set it, it's not a hero. How do I start the IDE in the quickest way? Start-to-run input "devenv". You can call Vsstudio directly. Good, and give you a few more commonly used.

command line Quick Start "Inetmgr" IIS Manager, do not go to the management to find, and soon can display IIS Management "SQLWB" Quick Start SQL2005 Enterprise Manager "ISQLW" This is SQL2000 I also provide, this can be a SQL2000 Query Analyzer. "Devenv" launches the corresponding version of VS Studio

Ctrl Tip Transparent window This is a more interesting key. VS2005, when you are debugging the code, sometimes the message will obscure the code, this time you press CTRL to make the prompt transparent. VS2008 This transparency effect, visible in more places, you might as well do yourself to see.

F12, Ctrl + Minus, Ctrl + SHIFT + minus ( video viewing ) These three keys are especially useful when viewing code. With F12 you can quickly find the definition of a function, and you can quickly return to the function's call by CTRL + MINUS sign.

Ctrl+tab, Ctrl+f6, Ctrl+alt + DOWN arrow ( video viewing ) active file 3 ways to switch, more than you use the mouse to click More convenient OH.

Ctrl+k,m generation Method Stub ( video View )

This shortcut key is very useful when you write structural code. You can write the definition of a batch of code first, without worrying about the specific implementation. It also allows the compiler to compile and pass.

Tired of writing. In order to intercept these videos also Daoteng for half a day, to provide a well-organized print version of VS2008 shortcut keys for everyone to download. I'm not going to introduce these shortcut keys.

Original link: http://www.cnblogs.com/9999/archive/2009/09/24/1573030.html

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