vs2010 shortcuts Daquan

VS2010 version shortcuts

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

Ctrl + E, F ---- formatting selected code

CTRL + SHIFT + B to build the solution

CTRL + F7 generation compiler

CTRL + O to open the file

CTRL + SHIFT + O Open Project

CTRL + SHIFT + C Class View window display

F4 Display Properties window

SHIFT + F4 to display the Project Properties window

CTRL + SHIFT + E Resource View display

F12 Go To Definition

CTRL + F12 to declare

CTRL + ALT + J Object Browser

CTRL + ALT + F1 Help Contents

CTRL + F1 dynamic help

F1 Help

SHIFT + F1 current window Help

CTRL + ALT + F3 Help - Search

SHIFT + ALT + ENTER Full Screen

CTRL + - positioned rearwardly

CTRL + SHIFT + - forward positioning

CTRL + F4 to close the document window

CTRL + PAGE DOWN cursor is positioned over the window

CTRL + PAGE UP cursor to the bottom of the window

CTRL + F6

CTRL + TAB to the next document window

CTRL + SHIFT + F6

CTRL + SHIFT + TAB on a document window

ALT + F6 next window panel

CTRL + K, CTRL + L cancel remark

CTRL + K, CTRL + C Comment Select code

CTRL + K, CTRL + U Uncomment the selected code

CTRL + M, CTRL + O collapsed code defined

CTRL + M, CTRL + L expand custom code

CTRL + DELETE to delete the suffix

CTRL + BACKSPACE to delete prefix

SHIFT + TAB cancel tab

CTRL + U turn lowercase

CTRL + SHIFT + U turn capital

CTRL + SHIFT + END Select to the end of the document

CTRL + SHIFT + HOME Select to the end of the document start

SHIFT + END selection to the end

SHIFT + HOME Select to the beginning of the line

SHIFT + ALT + END to the tail end of the vertical selection

SHIFT + ALT + HOME perpendicular to the front to select

CTRL + SHIFT + PAGE UP to select the front page

CTRL + SHIFT + PAGE DOWN to select the back page

CTRL + END to the last document locator

CTRL + HOME to locate documents before most

Select CTRL + A

CTRL + W selects the current word

CTRL + G Go ...

CTRL + K, CTRL + P on a label

CTRL + K, CTRL + N next label

ALT + F10 to debug -ApplyCodeChanges

CTRL + ALT + Break to stop debugging

CTRL + SHIFT + F9 to cancel all breakpoints

CTRL + F9 allow interrupt

CTRL + SHIFT + F5 to debug - start again

F5 to run the debugger

CTRL + F5 to run without debugging

F10 program execution across

F11 single-step execution sentence by sentence

CTRL + J List Members

CTRL + PAGE DOWN a view of the next

CTRL + B format - bold

CTRL + SHIFT + T format - Text Indent

Debugging keyboard shortcuts

F6: Build Solution

Ctrl + F6: generating current project

F7: View Code

Shift + F7: View Forms Designer

F5: Start Debugging

Ctrl + F5: start (not debugging)

Shift + F5: Stop Debugging

Ctrl + Shift + F5: to restart commissioning

F9: Toggle Breakpoint

Ctrl + F9: Enable / stop breakpoints

Ctrl + Shift + F9: Delete all breakpoints

F10: step over

Ctrl + F10: Run to Cursor

F11: Step Into

Editing shortcuts

Shift + Alt + Enter: Toggle full screen editor

Ctrl + B, T / Ctrl + K, K: switching switch bookmark

Ctrl + B, N / Ctrl + K, N: move to the next bookmark

Ctrl + B, P: to move a 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

F3: Find Next

Shift + F3: Find previous

Ctrl + H: Alternatively

Ctrl + Shift + H: Replace in Files

Alt + F12: Find symbol (List all search results)

Ctrl + Shift + V: clipboard cycle

Ctrl + left and right arrow keys: one can move a word

Ctrl + Down arrow keys: scroll Code screen, but without moving the cursor.

Ctrl + Shift + L: Delete the current line

Ctrl + M, M: collapse or expand the current nested folded state

Ctrl + M, L: all set to the same process or deployed state Hide

Ctrl + M, P: Stop outlining

Ctrl + E, S: Blank Check

Ctrl + E, W: Wrap

Ctrl + G: Go to specified line

Shift + Alt + Arrow keys: the text selection rectangle

Alt + left mouse button: Select the text rectangle

Ctrl + Shift + U: all uppercase

Ctrl + U: All lowercase

Code Shortcuts

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: Selection comments

Ctrl + E, U / Ctrl + K, U: deselect the comment content

Ctrl + K, M: generating method stubs

Ctrl + K, X: ​​inserting the code snippet

Ctrl + K, S: Code inserted into the outer

F12: definition of process variables or go to the call

Window Shortcuts

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: Breakpoints window

Ctrl + D, I: Immediate window

Ctrl + Tab: switch the active form

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

VS2005 hidden shortcuts

Here I will put some VS2005 accidentally discovered did not specify shortcuts shared out, not all shortcuts, or some common keyboard shortcuts.

1, Ctrl + Space directly to complete a class or function (Actually, this is not hidden shortcuts, but because seize this shortcut Chinese input method, so ..., alternative shortcut is Alt + Right)

2, Shift + Delete to delete the entire line, and this line into the clipboard (this time can not select a piece of content)

3, Shift + Insert paste, a bit bizarre, Ctrl + V on it, presumably to correspond bar and Shift + Delete

4, Ctrl + Up, Ctrl + Down scroll Editor, as far as possible without moving the cursor, the cursor is in the visible range to ensure

5, Ctrl + BackSpace, Ctrl + Delete to delete the entire word, sometimes useful

6, Ctrl + Left, Ctrl + Right move the cursor by whole-word (not hidden, and in front of a few add up to the Ctrl cursor control kit)

7, Alt + Shift + F10 to open the renamed executed, implement interfaces and abstract classes small window (you can also use Ctrl +., But some Chinese input method to use this)

8, Shift + F9 debugging is open QuickWatch, content is content at the current cursor

9, F12 Jump to definition of useful shortcut keys

10, Shift + F12 Find All References

Published 59 original articles · won praise 18 · views 30000 +

Guess you like

Origin blog.csdn.net/weixin_40575457/article/details/100987765