Vs shortcut keys

Source: Internet
Author: User

From: http://www.cnblogs.com/dragonstreak_1/archive/2011/10/07/2200296.html

 

CTRL + H: replace

CTRL + Shift + H: replace Alt + F12 in the file: Search symbol (list all search results) Ctrl + Shift + V: clipboard loop Ctrl + left and right arrow keys: you can move the word Ctrl + up/down arrow: Scroll Code Screen, but do not move 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: automatically wrap Ctrl + G: shift + ALT + Arrow: select the rectangular text Alt + the left mouse button: select the rectangular text Ctrl + Shift + u: Convert all to uppercase Ctrl + u: Convert all to lowercase

Here, I will share all the shortcut keys of Visual Studio 2005 that I have accumulated with you, hoping to help you.

After many tests, the shortcut keys in VS 2005 can also be identified in vs 2008 and 2010, but vs 2008 and 2010 define their new shortcut keys. It is necessary to improve the existing shortcut keys and ensure that those who are used to the VS 2005 shortcut keys will not lose their work efficiency.

Code Writing

Shift + ALT + ente-Full Screen Display

Shift + ALT + F10-has three functions:

1. When implementing the interface, press to enable the options for implementing the interface;

2. Enable the rename option when modifying a variable, method, or class;

3. Open the using option when writing an object without using.

CTRL + R + E-encapsulation field (this shortcut key is not required for vs 2008, because the automatic attribute of C #3.0-auto-implemented properties)

CTRL + J-list members, including only code prompts

CTRL + Shift + space-display parameter information

Tab (press twice)-fill in the code block, for example, after try, for, do

CTRL + K + S-external code, including only code block templates

F6/Ctrl + Shift + B-generate Solution

F7-jump to the post-code of the form, which can be found in winform and webform. You can also jump back to the design view in winform.

Shift + F7-jump back to the design view in the Post-code of webform

F8-switch the wrong position in the current file in sequence

F12-go to definition

CTRL + _-go to definition and return

CTRL + Shift + _-go to definition again

CTRL + TAB-switch the current active window (such as the code and View Design Interface)

Quick Code Template

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

"Mbox" + TAB-MessageBox. Show ();

"Prop" + TAB-attribute blocks containing get and set accessors

"Propg" + TAB-Fast Read-only attribute

"Propfull" + tabl + TAB-fast attribute with complete get and set accessors

Code operation

CTRL + K + C-Comment

CTRL + K + U-uncomment

CTRL +]-search for matching parentheses

CTRL + Shift +]-select matching brackets and their code

CTRL + F-Quick Search

CTRL + H-quick replacement

CTRL + Shift + U-convert to uppercase

CTRL + U-convert to lowercase

CTRL + K + D-set the document format

Tab-increase indentation

Shift + TAB-Reduce indentation

CTRL + M-collapse the Code. For example, place the cursor in the position of # region, if, and method header.

CTRL +.-Call out the using menu

CTRL + E + S-view the blank space (convert the space to a green point, which is especially convenient when searching for extra spaces)

Debug and run

F5-start debugging

Shift + F5-Stop debugging

F9-set breakpoints

CTRL + Shift + F9-delete all breakpoints

F10-process-by-process debugging

F11-statement-by-statement debugging

Project operations

Alt + enter-open the Properties dialog box for the selected item

CTRL + Shift + N-create a project

Shift + ALT + N-create a website

CTRL + N-create a file

CTRL + Shift + O-open the project

Shift + ALT + O-open the website

CTRL + O-open the file

CTRL + Shift + A-Add a new item in the project

Shift + ALT + A-add an existing project to the Project

Shift + ALT + C-Add a class in the project

View call

F4-attributes

CTRL + ALT + X-toolbox

CTRL + ALT + L-solution Resource Manager

CTRL + ALT + S-server Resource Manager

 

 

--------------------------------------- Vs2008 Shortcut Keys ----------------------------

CTRL + M + CRTR + O fold all outlines Ctrl + M + CRTR + P: Stop outline display Ctrl + K + CRTR + C: Comment the selected content Ctrl + K + CRTR + u: deselect the selected comment content Ctrl + J: List Members smart sensing SHIFT + ALT + enter: Switch to full screen editing Ctrl + B, T/Ctrl + k, K: Switch to 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: Search for F3 in the file: Find the next shift + F3: search for the last Ctrl + H: replace Ctrl + Shift + H: replace Alt + F12 in the file: Search for symbols (list all search results) Ctrl + Shift + V: clipboard cycle Ctrl + left and right arrows Head key: you can move the word Ctrl + up/down arrow: Scroll the code screen, but do not move 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 + E, S: View blank Ctrl + e, W: automatically wrap Ctrl + G: shift + ALT + Arrow: select the rectangular text Alt + the left mouse button: select the rectangular text Ctrl + Shift + u: Convert all to uppercase Ctrl + u: enter the lower-case code shortcut key Ctrl + Shift + Space key/Ctrl + K, P: parameter information Ctrl + K, I: quick information Ctrl + e, U/Ctrl + k, u: unselect the comment content Ctrl + K, M: generate the method stub Ctrl + k, X: insert the code segment Ctrl + k, S: insert the outer code F12: go to the call process or variable definition window shortcut key 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: attribute window Ctrl + W, T: task list Ctrl + W, X: toolbox Ctrl + W, b: The Bookmarks window Ctrl + W, u: document outline Ctrl + D, B: breakpoint window Ctrl + D, I: Real-Time Window Ctrl + tab: activity 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: new item SHIFT + ALT + enter: Switch to full screen edit Ctrl + B, T/Ctrl + k, K: Switch to 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: Search for files

Transferred from:

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

--------------------------------------- Vs2010 Shortcut Keys ----------------------------

CTRL + E, D ---- format all code Ctrl + e, f ---- format the selected code Ctrl + Shift + B generate solution Ctrl + F7 generate and compile Ctrl + O open file Ctrl + Shift + O open 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 go to definition Ctrl + F12 go to Declaration CTRL + ALT + J object browse CTRL + ALT + f1 help directory Ctrl + F1 dynamic help F1 help F1 SHIFT + F1 current window help CTRL + ALT + F3 help-search SHIFT + ALT + enter full screen display Ctrl +-backward positioning Ctrl + Shift + -Move forward to Ctrl + F4 close document window Ctrl + Page D Own 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 previous document window Alt + f6 next panel window Ctrl + K, CTRL + l cancel remark Ctrl + k, CTRL + C comment Select Code Ctrl + k, CTRL + u cancel comments on the selected code Ctrl + m, CTRL + O fold Code definition Ctrl + m, CTRL + l expand Code definition Ctrl + delete Delete to end Ctrl + backspace Delete to header SHIFT + TAB cancel tab Ctrl + u convert lowercase Ctrl + Shift + u convert uppercase Ctrl + Shift + end select Ctrl + Shift + home at the end of the document and open it at the end of the document. Shift + end select SHIFT + home select SHIFT + ALT + end vertical select SHIFT + ALT + home vertical select Ctrl + Shift + page up select to the front of this page Ctrl + Shift + Page down select to the end of this page Ctrl + end document locate to the last Ctrl + home document locate to the top Ctrl + A select all Ctrl + W select the current CTRL + G... CTRL + k, CTRL + P the last tag Ctrl + K, CTRL + N next tag Alt + F10 debug-applycodechanges CTRL + ALT + break stop debug Ctrl + Shift + F9 cancel all breakpoints Ctrl + F9 allow interrupt Ctrl + Shift + F5 debug-start again f5 run debugging Ctrl + F5 run not debug F10 crossed Program Execute F11 and execute Ctrl + J to list members one by one. CTRL + Page down next view Ctrl + B format-bold Ctrl + Shift + T format-text indent debugging shortcut: F6: generate solution Ctrl + F6: generate current project F7: view code SHIFT + F7: View Form Designer F5: start debugging Ctrl + F5: start execution (do not Debug) Shift + F5: stop debugging Ctrl + Shift + F5: restart debugging F9: Switch breakpoint Ctrl + F9: Enable/Stop breakpoint Ctrl + Shift + F9: delete all breakpoints F10: Process by process Ctrl + F10: run to the cursor F11: Statement-by-statement editing shortcut key shift + ALT + enter: Switch to full screen editing Ctrl + B, T/Ctrl + k, K: Switch to 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: Search F3: find the next shift + F3: Find the previous Ctrl + H: replace Ctrl + Shift + H: replace Alt + F12 in the file: Search symbol (list all search results) CTRL + Shift + V: clipboard cycle Ctrl + left and right arrow keys: One word can be moved at a time Ctrl + up and down arrow keys: Scroll code screen, but do not move 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: automatically wrap Ctrl + G: shift + ALT + Arrow: select the rectangular text Alt + the left mouse button: select the rectangular text Ctrl + Shift + u: Convert all to uppercase Ctrl + u: 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: method for generating the stub Ctrl + k, X: insert the code segment Ctrl + k, S: insert the external code F12: Go to the call process or variable definition window shortcut key 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: The Bookmarks window Ctrl + W, u: document outline Ctrl + D, B: breakpoint window Ctrl + D, I: Real-Time Window Ctrl + tab: activity form switch Ctrl + Shift + N: new project Ctrl + Shift + O: Open project Ctrl + Shift + S: Save all SHIFT + ALT + C: CTRL + Shift + A: The Hidden Shortcut Key of the new vs2005 project. Here, I will share some shortcut keys that are not explicitly specified in vs2005, not all of them, or some common shortcut keys. 1. CTRL + space directly completes the class or function (originally this is not a hidden shortcut key, but because the Chinese Input Method preemptible this shortcut key, so ..., the shortcut keys are Alt + right. 2. Shift + Delete: Delete the entire row, and place the row to the clipboard (a piece of content cannot be selected at this time). 3. Shift + insert and paste. This is a bit incredible, CTRL + V is enough, probably to correspond to Shift + Delete 4, CTRL + up, CTRL + down scroll editor, but try not to move the cursor, ensure that the cursor is within the visible range 5. CTRL + backspace, CTRL + delete Delete the entire word, sometimes useful 6. CTRL + left, CTRL + right move the cursor by the entire word (not to hide, and the previous items add up to the CTRL cursor control suite) 7. Alt + Shift + F10 open and rename the cursor, small Window implementing interfaces and abstract classes (you can also use Ctrl + ., but some Chinese input methods use this) 8. Shift + F9 debugging is to open quickwatch, where the content is at the position of the current cursor 9, F12 to jump to the definition, very useful shortcuts 10, Shift + F12 find all references

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.