7
VISUAL STUDIO 2010 SHORTCUT KEYS Emanuele Bartolesi http://www.emanuelebartolesi.com [email protected] 16/11/2011

Visual Studio 2010 shortcut keys

Embed Size (px)

DESCRIPTION

Visual Studio 2010 shortcut keys

Citation preview

Page 1: Visual Studio 2010 shortcut keys

VISUAL STUDIO 2010SHORTCUT KEYS

Emanuele Bartolesihttp://[email protected]

16/11/2011

Page 2: Visual Studio 2010 shortcut keys

Designers and EditorsCommand Description Keys

Edit.Copy Copies the selected item to the Clipboard. CTRL+C or CTRL+INSERT

Edit.Cut Deletes the selected item from the file and copies it to the Clipboard. CTRL+X or SHIFT+DELETE

Edit.Paste Inserts the Clipboard contents at the cursor. CTRL+V or SHIFT+INSERT

Edit.Find Displays the Quick tab of the Find and Replace dialog box. CTRL+F

Edit.FindinFiles Displays the In Files tab of the Find and Replace dialog box. CTRL+SHIFT+F

Edit.FindNext Finds the next occurrence of the search text. F3

Edit.Replace Displays the replace options on the Quick tab of the Find and Replace dialog box.

CTRL+H

Edit.ReplaceinFiles Displays the replace options on the In Files tab of the Find and Replace dialog box. CTRL+SHIFT+H

View.ViewCode Switches to Code view. F7

Page 3: Visual Studio 2010 shortcut keys

EditorsCommand Description Keys

Edit.DocumentEnd Moves the cursor to the last line of the document. CTRL+END

Edit.DocumentStart Moves the cursor to the first line of the document. CTRL+HOME

Edit.GoTo Displays the Go To Line dialog box. CTRL+G

Edit.GoToDeclaration Displays the definition of the selected symbol in the code. CTRL+F12

Page 4: Visual Studio 2010 shortcut keys

File and ProjectCommand Description Keys

File.NewFile Displays the New File dialog box so that you can add a new file to the current project. CTRL+N

File.NewProject Displays the New Project dialog box. CTRL+SHIFT+N

File.NewWebSite Displays the New Web Site dialog box. SHIFT+ALT+N

File.OpenFile Displays the Open File dialog box. CTRL+O

File.OpenProject Displays the Open Project dialog box so that you can add existing projects to your solution. CTRL+SHIFT+O

File.OpenWebSite Displays the Open Web Site dialog box. SHIFT+ALT+O

File.SaveSelectedItems Saves the selected items in the current project. CTRL+S

File.SaveAll Saves all documents in the current solution and all files in the external files project. CTRL+SHIFT+S

File.ViewinBrowserDisplays in a Web browser the file that is selected in Solution Explorer or the file that has focus in the editor.

CTRL+SHIFT+W

Page 5: Visual Studio 2010 shortcut keys

WindowsCommand Description Keys

View.FullScreen Toggles Full Screen mode on and off. SHIFT+ALT+ENTER

Window.CloseDocumentWindow Closes the current tab. CTRL+F4

View.ErrorList Displays the Error List window. CTRL+\, E

View.SolutionExplorer Displays Solution Explorer, which lists the projects and files in the current solution. CTRL+ALT+L

View.TaskListDisplays the Task List window, which displays custom tasks, comments, shortcuts, warnings, and error messages.

CTRL+\, T

View.ToolboxDisplays the Toolbox, which contains controls and other items that can be included or used with your code.

CTRL+ALT+X

View.WebBrowser Displays the Web Browser window, which lets you view pages on the Internet. CTRL+ALT+R

Page 6: Visual Studio 2010 shortcut keys

DebugCommand Description Keys

Debug.StartLaunches the application under the debugger based off of the settings from the startup project. When in Break mode, invoking this command will run the application until the next breakpoint.

F5

Debug.StartWithoutDebugging Runs the code without invoking the debugger. CTRL+F5

Debug.StepInto Executes code one statement at a time, following execution into method calls. F11

Debug.StepOver Sets the execution point to the line of code you select. F10

Debug.ToggleBreakpoint Sets or removes a breakpoint at the current line. F9

Debug.Immediate Displays the Immediate window, where expressions can be evaluated. CTRL+ALT+I

Debug.CallStackDisplays the Call Stack window, which displays a list of all active methods or stack frames for the current thread of execution.

CTRL+ALT+C

Debug.Autos Displays the Auto window, which displays variables used in the current line of code and the previous line of code. CTRL+ALT+V, A

Debug.Exceptions Displays the Exceptions dialog box. CTRL+ALT+E

Page 7: Visual Studio 2010 shortcut keys

References

• For a full list of shortcut keys go to http://msdn.microsoft.com/en-us/library/da5kh0wa.aspx