Home > DeveloperSection > Articles > Visual Studio Shortcuts Keys

Visual Studio Shortcuts Keys


Shortcut Keys Shortcut Keys 
Ratings:
0 Comment(s)
 2495  View(s)
Rate this:

Visual Studio Shortcuts Keys

In this article I am going to show almost keyboard shortcut keys for Visual Studio.

Manage Visual Studio

Shortcut key

Description

Ctrl+s

Save current file

Ctrl+Shift+s

Save all files

Ctrl+Shift+n

Create new project

Ctrl+o

Open file

Ctrl+Shift+o

Open project

Ctrl+Shift+a

Add item to project

Esc

Close menu or dialog

Ctrl+p

Print

Shift+Alt+Enter

Toggle full screen mode

Ctrl+f4

Close current tab

Ctrl+f6/Ctrl+Shift+f6

Go to next / go to previous window

Ctrl+Tab, then Arrow keys

Press and hold Ctrl+Tab, and then using arrow keys gives a small task manager with all open files and views

Bookmarks

If we need the double keystrokes such as Ctrl+k+k, stay holds the Ctrl key until releasing the last key.

Shortcut key

Description

Ctrl+k+k

Toggle bookmark

Ctrl+k+n

Goto next bookmark

Ctrl+k+p

Goto previous bookmark

Ctrl+Shift+k+n

Goto next bookmark in folder

Ctrl+Shift+k+p

Goto previous bookmark in folder

Ctrl+k+w

Put focus on bookmark window

Esc

Leave bookmark window and focus on editor

Ctrl+k+h

Toggle code shortcut at current line*

Ctrl + K + L

Clear all bookmarks

* If somebody figures out additional shortcut keys on how to use code shortcuts, please edit this page

and add

Code Editor

Find, Replace, and Goto

Shortcut key

Description

Ctrl+f

Find and replace dialog box

F3

Find next

Shift+f3

Find previous

Ctrl+h

Display Replace options on the quick tab

Shift+f12

Find all references for selected symbol

Ctrl+Shift+f

Find in files

Alt+F3, s

Stop current find in files operation

Ctrl+F3/Ctrl+Shift+f3

Find next / find previous in selected text

Alt+F12

Find symbol

Ctrl+d

Put cursor in find/command box of the toolbar. Use ctrl+/ in Visual C#

Ctrl+I

Incremental search

Ctrl+Shift+i

Reverse incremental search

Shift+Alt+f12

Quick find symbol

Ctrl+,

Display Navigate-To dialog box

Ctrl+g

Goto line number

Ctrl+]

Go to matching brace in source file

Undo, Redo, Copy, Paste

Shortcut key

Description

Ctrl+X, Ctrl+C, Ctrl+V

Cut, copy, paste

Ctrl+Shift+v

Pastes an item from the Clipboard ring

Ctrl+z

Undo

Ctrl+y

Redo (or Shift+Alt+Backspace, or Ctrl+Shift+Z)

Select Text

Shortcut key

Description

Shift+Arrow Keys

Extend selection one character/one line

Ctrl+Shift+End/ Ctrl+Shift+Home

Extend selection to end / to beginning of document

Ctrl+Shift+]

Extend selection to next brace

Shift+End/ Shift+Home

Extend selection to end / to beginning of line

Shift+Page Down/ Shift+Page Up

Extends selection down one page / up one page

Ctrl+w

Select current word

Esc

Cancel Selection

Ctrl+Shift+Page Down/ Page Up

Moves cursor and extend selection to the last line / first line in view.

Ctrl+Shift+Arrow right/ arrow left

Extend selection one word to the right / one word to the left

Ctrl+a

Select All

Coding

Collapse Items

Shortcut key

Description

Ctrl+m+m

Collapse / un-collapse current preset area (e.g. method)

Ctrl+m+h

Collpase / hide current selection

Ctrl+m+o

Collapse declaration bodies

Ctrl+m+a

Collapse all

Ctrl+m+x

Uncollapse all

Ctrl+m, ctrl+t

Collapse Html tag

Edit Code

Shortcut key

Description

Ctrl+l

Delete current line or selection of lines to and add to clipboard

Ctrl+Shift+l

Delete current line or selection of lines

Ctrl+Delete

Delete word to right of cursor

Ctrl+Backspace

Delete word to left of cursor

Ctrl+Enter

Enter blank line above cursor

Ctrl+Shift+Enter

Enter blank line below cursor

Ctrl+Shift+u

Make uppercase

Ctrl+u

Make lowercase (reverse upercase)

Ctrl+k+c

Comment selected text

Ctrl+k+u

Uncomment selected text

Ctrl+k+\

Remove white space and tabs in selection or around current cursor position

Ctrl+k+d

Format document to code formatting settings

Ctrl+k+f

Format selection to code formatting settings

Ctrl+Shift+space

Display parameter required for selected method

Ctrl+Shift+8

Visualize whitespace (or press Ctrl+r, then Ctrl+w)

Ctrl+k+d

Format document to code formatting settings

Ctrl+k+f

Format selection to code formatting settings

Ctrl+Shift+t

Transpose word to right of cursor; makes b=a out of a=b if cursor was in front of a

Ctrl+t

Transpose character left and right of cursor; cursor between ab would make ba

Shift+Alt+t

Transpose line: Move line below cursor up and current line down.

IntelliSense and Code Helper

Shortcut key

Description

Ctrl+Space

Autocomplete word from completion list (or alt+right arrow)

Ctrl+Shift+Space

Show parameter info

Ctrl+f12

Display symbol definition

F12

Display symbol declaration

Ctrl+j

Open IntelliSense completion list

Build and Debug

Shortcut key

Description

f7

Build solution (or Ctrl+shift+b)

Ctrl+Alt+f7

Rebuild solution

Ctrl+break

Cancel build process

Ctrl+\+e

Show error list

F9

Toggle breakpoint

Ctrl+b

Insert new function breakpoint

F5

Start debugging

F11

Debug / step into

F10

Debug / step over

Shift+f11

Debug / step out

Ctrl+f10

Debug / run to cursor

Ctrl+Alt+q

Show Quickwatch window

Ctrl+Shift+f10

Set current statement to be the next executed

Alt+* (on numeric keyboard)

Show nexst statement

Ctrl+Alt+e

Show Exception dialog box

Ctrl+f11

Toggle between disassembly and user code view

Shift+f5

Stop Debugging

Ctrl+f5

Bypass debugger

Ctrl+Alt+p

Show attach to process window

Ctrl+Alt+break

Break all executing threads

Tool Windows

Shortcut key

Description

Ctrl+/

Put cursor in the find/command box in toolbar

Ctrl+k+b

Open code snippet manager window

Alt+f11

Open macro IDE window

Ctrl+k+w

Open bookmark window

Ctrl+Alt+k

Open call hierarchy window

Ctrl+Shift+c

Open class view window

Ctrl+Alt+a

Open Command window

Ctrl+Shift+o

Open Output window

Ctrl+Shift+e

Open Resource view window

Ctrl+Alt+s

Open Server explorer window

Ctrl+Shift+l

Open Solution explorer window

Shift+Esc

Close Find & Replace Window

If you want to more Visual Studio Keyboard Shortcut keys then follow below link:

http://www.microsoft.com/en-us/download/details.aspx?id=13189

 


Don't want to miss updates? Please click the below button!

Follow MindStick