VISUAL STUDIO 2010
     SHORTCUT KEYS
                    Emanuele Bartolesi
      http://www.emanuelebartolesi.com
      emanuele@emanuelebartolesi.com
                           16/11/2011
Designers and Editors
Command               Description                                           Keys
Edit.Copy             Copies the selected item to the Clipboard.            CTRL+C or CTRL+INSERT
                      Deletes the selected item from the file and copies
Edit.Cut                                                                    CTRL+X or SHIFT+DELETE
                      it to the Clipboard.
Edit.Paste            Inserts the Clipboard contents at the cursor.         CTRL+V or SHIFT+INSERT
                      Displays the Quick tab of the Find and Replace
Edit.Find                                                                   CTRL+F
                      dialog box.
                      Displays the In Files tab of the Find and Replace
Edit.FindinFiles                                                            CTRL+SHIFT+F
                      dialog box.
Edit.FindNext         Finds the next occurrence of the search text.         F3
                      Displays the replace options on the Quick tab of      CTRL+H
Edit.Replace
                      the Find and Replace dialog box.
                      Displays the replace options on the In Files tab of
Edit.ReplaceinFiles                                                         CTRL+SHIFT+H
                      the Find and Replace dialog box.
View.ViewCode         Switches to Code view.                                F7
Editors
Command                Description                                      Keys

                       Moves the cursor to the last line of the
Edit.DocumentEnd                                                        CTRL+END
                       document.
                       Moves the cursor to the first line of the
Edit.DocumentStart                                                      CTRL+HOME
                       document.
Edit.GoTo              Displays the Go To Line dialog box.              CTRL+G
                       Displays the definition of the selected symbol
Edit.GoToDeclaration                                                    CTRL+F12
                       in the code.
File and Project
Command                  Description                                       Keys

                         Displays the New File dialog box so that you
File.NewFile                                                               CTRL+N
                         can add a new file to the current project.
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
                         Displays the Open Project dialog box so that
File.OpenProject                                                           CTRL+SHIFT+O
                         you can add existing projects to your solution.
File.OpenWebSite         Displays the Open Web Site dialog box.            SHIFT+ALT+O
                         Saves the selected items in the current
File.SaveSelectedItems                                                     CTRL+S
                         project.
                         Saves all documents in the current solution
File.SaveAll                                                               CTRL+SHIFT+S
                         and all files in the external files project.
                         Displays in a Web browser the file that is
File.ViewinBrowser       selected in Solution Explorer or the file that    CTRL+SHIFT+W
                         has focus in the editor.
Windows
Command                 Description                                     Keys

View.FullScreen         Toggles Full Screen mode on and off.            SHIFT+ALT+ENTER
Window.CloseDocume
                        Closes the current tab.                         CTRL+F4
ntWindow
View.ErrorList          Displays the Error List window.                 CTRL+, E
                        Displays Solution Explorer, which lists the
View.SolutionExplorer                                                   CTRL+ALT+L
                        projects and files in the current solution.
                        Displays the Task List window, which displays
View.TaskList           custom tasks, comments, shortcuts, warnings,    CTRL+, T
                        and error messages.
                        Displays the Toolbox, which contains controls
View.Toolbox            and other items that can be included or used    CTRL+ALT+X
                        with your code.
                        Displays the Web Browser window, which lets
View.WebBrowser                                                         CTRL+ALT+R
                        you view pages on the Internet.
Debug
Command                       Description                                                    Keys

                              Launches the application under the debugger based off
                              of the settings from the startup project. When in Break
Debug.Start                                                                                  F5
                              mode, invoking this command will run the application
                              until the next breakpoint.
Debug.StartWithoutDebugging   Runs the code without invoking the debugger.                   CTRL+F5
                              Executes code one statement at a time, following
Debug.StepInto                                                                               F11
                              execution into method calls.
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
                              Displays the Immediate window, where expressions can
Debug.Immediate                                                                              CTRL+ALT+I
                              be evaluated.
                              Displays the Call Stack window, which displays a list of all
Debug.CallStack               active methods or stack frames for the current thread of       CTRL+ALT+C
                              execution.
                              Displays the Auto window, which displays variables used        CTRL+ALT+V,
Debug.Autos
                              in the current line of code and the previous line of code.     A
Debug.Exceptions              Displays the Exceptions dialog box.                            CTRL+ALT+E
References
• For a full list of shortcut keys go to
  http://msdn.microsoft.com/en-us/library/da5kh0wa.aspx

Visual Studio 2010 shortcut keys

  • 1.
    VISUAL STUDIO 2010 SHORTCUT KEYS Emanuele Bartolesi http://www.emanuelebartolesi.com emanuele@emanuelebartolesi.com 16/11/2011
  • 2.
    Designers and Editors Command Description Keys Edit.Copy Copies the selected item to the Clipboard. CTRL+C or CTRL+INSERT Deletes the selected item from the file and copies Edit.Cut CTRL+X or SHIFT+DELETE it to the Clipboard. Edit.Paste Inserts the Clipboard contents at the cursor. CTRL+V or SHIFT+INSERT Displays the Quick tab of the Find and Replace Edit.Find CTRL+F dialog box. Displays the In Files tab of the Find and Replace Edit.FindinFiles CTRL+SHIFT+F dialog box. Edit.FindNext Finds the next occurrence of the search text. F3 Displays the replace options on the Quick tab of CTRL+H Edit.Replace the Find and Replace dialog box. Displays the replace options on the In Files tab of Edit.ReplaceinFiles CTRL+SHIFT+H the Find and Replace dialog box. View.ViewCode Switches to Code view. F7
  • 3.
    Editors Command Description Keys Moves the cursor to the last line of the Edit.DocumentEnd CTRL+END document. Moves the cursor to the first line of the Edit.DocumentStart CTRL+HOME document. Edit.GoTo Displays the Go To Line dialog box. CTRL+G Displays the definition of the selected symbol Edit.GoToDeclaration CTRL+F12 in the code.
  • 4.
    File and Project Command Description Keys Displays the New File dialog box so that you File.NewFile CTRL+N can add a new file to the current project. 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 Displays the Open Project dialog box so that File.OpenProject CTRL+SHIFT+O you can add existing projects to your solution. File.OpenWebSite Displays the Open Web Site dialog box. SHIFT+ALT+O Saves the selected items in the current File.SaveSelectedItems CTRL+S project. Saves all documents in the current solution File.SaveAll CTRL+SHIFT+S and all files in the external files project. Displays in a Web browser the file that is File.ViewinBrowser selected in Solution Explorer or the file that CTRL+SHIFT+W has focus in the editor.
  • 5.
    Windows Command Description Keys View.FullScreen Toggles Full Screen mode on and off. SHIFT+ALT+ENTER Window.CloseDocume Closes the current tab. CTRL+F4 ntWindow View.ErrorList Displays the Error List window. CTRL+, E Displays Solution Explorer, which lists the View.SolutionExplorer CTRL+ALT+L projects and files in the current solution. Displays the Task List window, which displays View.TaskList custom tasks, comments, shortcuts, warnings, CTRL+, T and error messages. Displays the Toolbox, which contains controls View.Toolbox and other items that can be included or used CTRL+ALT+X with your code. Displays the Web Browser window, which lets View.WebBrowser CTRL+ALT+R you view pages on the Internet.
  • 6.
    Debug Command Description Keys Launches the application under the debugger based off of the settings from the startup project. When in Break Debug.Start F5 mode, invoking this command will run the application until the next breakpoint. Debug.StartWithoutDebugging Runs the code without invoking the debugger. CTRL+F5 Executes code one statement at a time, following Debug.StepInto F11 execution into method calls. 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 Displays the Immediate window, where expressions can Debug.Immediate CTRL+ALT+I be evaluated. Displays the Call Stack window, which displays a list of all Debug.CallStack active methods or stack frames for the current thread of CTRL+ALT+C execution. Displays the Auto window, which displays variables used CTRL+ALT+V, Debug.Autos in the current line of code and the previous line of code. A Debug.Exceptions Displays the Exceptions dialog box. CTRL+ALT+E
  • 7.
    References • For afull list of shortcut keys go to http://msdn.microsoft.com/en-us/library/da5kh0wa.aspx