VisualStudio shortcut Keys

Source: Internet
Author: User

ctrl+k,c Annotation Select row
Ctrl+k,u Uncomment a selected line

CTRL + SHIFT + B: Build Solution

CTRL + F7: Generate compilation

CTRL + O: Open file

CTRL + SHIFT + O: Open Project

CTRL + SHIFT + C: Show Class View window

F4: Display Properties Window

SHIFT + F4: Show Project Properties window

CTRL + SHIFT + E: Show Resource View

F12: Go To Definition

CTRL + F12: go to Declaration

CTRL + ALT + J: Object browsing

CTRL + ALT + F1: Help Table of Contents

CTRL + F1: Dynamic Help
F1: Help

SHIFT + F1: Current Window Help

CTRL + ALT + F3: Help-Search

SHIFT + ALT + ENTER: full-screen display

CTRL +-: Navigate backwards

CTRL + SHIFT +-: Navigate Forward

CTRL + F4: Close document window

CTRL + PAGE down: Cursor positioned above window

CTRL + PAGE up: Cursor positioned below 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 on the selected code

CTRL + K, CTRL + U: Uncomment the selection code

CTRL + M, CTRL + O: collapsing code definitions

CTRL + M, CTRL + L: Expand Code Definition

CTRL + DELETE: Delete to ending

CTRL + BACKSPACE: Delete to Prefix

SHIFT + Tab: Cancel tab

CTRL + U: Turn lowercase

CTRL + SHIFT + U: Turn capitalization

CTRL + SHIFT + END: Select to end of 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 at line

SHIFT + ALT + END: Vertical selection to last end

SHIFT + ALT + HOME: Vertical selection to the front

CTRL + A: Select All

CTRL + W: Select the current word

CTRL + SHIFT + PAGE UP: Select to the front of this page

CTRL + SHIFT + PAGE down: Select to the back of this page

CTRL + End: Document is anchored to the last

CTRL + HOME: Document navigates to the front

CTRL + G: Go to ...

CTRL + K, CTRL + P: previous label

CTRL + K, CTRL + N: Next label

ALT + F10: Debug-applycodechanges

CTRL + ALT + BREAK: Stop Debugging

CTRL + SHIFT + F9: Cancel all Breakpoints

CTRL + F9: Allow interrupts

CTRL + SHIFT + F5: Debug-Start again

F5: Run debugging

CTRL + F5: Run without Debugging

F10: Spanning program execution

F11: Stepping through one step

CTRL + J: List Members
CTRL + PAGE down: Next view

CTRL + B: Format-Bold

CTRL + SHIFT + T: Format-Text indent

debugging shortcut keys


F6: Build Solution

CTRL+F6: Build Current project

F7: View Code

Shift+f7: Viewing the form Designer

F5: Start Debugging

Ctrl+f5: Start execution (without debugging)

SHIFT+F5: Stop Debugging

Ctrl+shift+f5: Restart debugging

F9: Toggle Breakpoint

CTRL+F9: Enable/Stop breakpoints

CTRL+SHIFT+F9: Delete all breakpoints

F10: Process-by-step

CTRL+F10: Run to Cursor

F11: Per-statement



Edit shortcut Keys


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 labels

Ctrl+i: Incremental Search

Ctrl+shift+i: Reverse Incremental Search

Ctrl+f: Find

Ctrl+shift+f: Finding in Files

F3: Find the next

SHIFT+F3: Find Previous

Ctrl+h: Replace

Ctrl+shift+h: Replace in file

ALT+F12: Find Symbol (List all find results)

Ctrl+shift+v: Clipboard Looping

CTRL + LEFT and RIGHT arrow keys: One word can be moved at a time

CTRL + UP and DOWN ARROW keys: Scrolls the code screen, but does not move the cursor position.

Ctrl+shift+l: Delete When moving forward

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: Stopping outline display

Ctrl+e,s: View Blank

Ctrl+e,w: Wrap Line

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 turns 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 Code Snippets

Ctrl+k,s: Inserting the outer code

F12: Go to the definition of the called procedure or variable


Window shortcut keys


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



Hidden shortcut keys for VS2005
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 key, so ... , alternative shortcut keys are alt+right)

Shift+delete: The entire row is deleted, and the line is placed on the Clipboard (a piece of content cannot be selected at this time)

Shift+insert: Paste, a little strange, Ctrl + V can be, presumably to and shift+delete corresponding bar

Ctrl+up,ctrl+down: Scroll the editor, but try not to move the cursor, the cursor is guaranteed to be within the visible range

Ctrl+backspace,ctrl+delete: Whole word deletion, sometimes very useful

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)

ALT+SHIFT+F10: Open a small window that performs renaming, implements interfaces, and abstract classes (you can also use CTRL +., but some Chinese input methods use this)

SHIFT+F9: Debug is open QuickWatch, content is the current cursor is located in the content

F12: Jump to Definition, useful shortcut keys

SHIFT+F12: Find All references

CTRL+F10=F5: Start Debug

Ctrl+f6: Loop through the Code window and feel a little ctrl+tab

CTRL+F3: Finds the current cursor selection and can be used with F3

CTRL+F2: Shift focus to the drop-down box on the class

Alt+f7=ctrl+tab

ALT+F11: New open VS2005 and edit macro

ALT+F12: Find =ctrl+f

VisualStudio shortcut Keys

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.