Wednesday, August 20, 2008

Visual Studio 2005 Shortcut Keys

Ctrl-Shift-S Saves all documents and projects
F7 Switches from the design view to the code view in the editor
Shift-F7 Switches from the code view to the design view in the editor
F8 Moves the cursor to the next item, for example in the
TaskList window or Find Results window
Shift-F8 Moves the cursor to the previous item, for example in the
TaskList window or Find Results window
Shift-F12 Finds a reference to the selected item or the item under the
cursor
Ctrl-Shift-G Opens the file whose name is under the cursor or is currently
selected
Ctrl-/ Switches focus to the Find/Command box on the Standard toolbar
Ctrl-Shift-F12 Moves to the next task in the TaskList window
Ctrl-Shift-8 Moves backward in the browse history. Available in the object
browser or Class View window
Shift-Alt-A Displays the Add Existing Item dialog
Ctrl-Shift-A Displays the Add New Item dialog
Ctrl-+ Goes back to the previous location in the navigation history.
Ctrl-Shift-+ Moves forward in the navigation history. This is effectively an undo for the View.NavigateBackward operation
Ctrl-F4 Closes the current MDI child window
Shift-Esc Closes the current tool window
Ctrl-F2 Moves the cursor to the navigation bar at the top of a code
view
Ctrl-Tab Cycles through the MDI child windows one window at a time
Ctrl-F6,Ctrl-Shift-TabMoves to the previous MDI child window
Alt-F6,Ctrl-Shift-F6 Moves to the next tool window
Shift-Alt-F6 Moves to the previously selected window
F6 Moves to the next pane of a split pane view of a single
document
Shift-F6 Moves to the previous pane of a document in split pane view
Ctrl-Shift-F9 Clears all of the breakpoints in the project
Ctrl-Alt-E Displays the Exceptions dialog
F5 If not currently debugging, this runs the startup project or
projects and attaches the debugger. If in break mode, this
allows execution to continue (i.e., it returns to run
mode).
Ctrl-F5 Runs the code without invoking the debugger. For console
applications, this also arranges for the console window to
stay open with a “Press any key to continue” prompt when
the program finishes
F11 Executes code one statement at a time, tracing execution into
function calls
Shift-F11 Executes the remaining lines of a function in which the current
execution point lies
F10 Executes the next line of code but does not step into any
function calls
Shift-F5 Available in break and run modes, this terminates the debugging
session
F9 Sets or removes a breakpoint at the current line
F12 Displays the definition for the selected symbol in code
Ctrl-Alt-A Displays the Command window, which allows you to type commands
that manipulate the IDE
F4 Displays the Properties window, which lists the design-time
properties and events for the currently selected item
Ctrl-Alt-L Displays the Solution Explorer, which lists the projects and
files in the current solution
Ctrl-Alt-K Displays the TaskList window, which displays tasks, comments,
shortcuts, warnings, and error messages
Ctrl-Alt-X Displays the Toolbox, which contains controls and other items
that can be dragged into editor and designer windows

No comments: