Source: Http://blogs.msdn.com/karenliu/archive/2006/06/12/628756.aspx
Visual C # development settings default keybindings
Editing
Edit. collapsetodefinitions
CTRL + M, O
Collapses existing regions to provide a high-level view of the types and members in the source file.
Edit. commentselection
CTRL + k, C or Ctrl + E, C
Inserts // at the beginning of the current line or every line of the current selection.
Edit. formatdocument
CTRL + k, D or Ctrl + E, D
Formats the current document according to the indentation and code formatting settings specified on the FOrmattingPane under tools | options | text editor | C #.
Edit. formatselection
CTRL + k, f or Ctrl + E, F
Formats the current selection according to the indentation and code formatting settings specified on the formatting pane under tools | options | text editor | C #.
Edit. insertsnippet
CTRL + k, X
Displays the code snippet picker. The selected code snippet will be inserted at the cursor position.
Edit. stopoutlining
CTRL + M, P
Removes all outlining information from the whole document.
Edit. surroundwith
CTRL + k, S
Displays the code snippet picker. The selected code snippet will be wrapped around the selected text.
Edit. togglealloutlining
CTRL + M, L
Toggles all previusly collapsed outlining regions between collapsed and expanded states.
Expand code snippet
[Tab]
Expand code snippet
Edit. toggleoutliningexpansion
CTRL + M, m
Toggles the currently selected collapsed region between the collapsed and expanded state.
Edit. uncommentselection
CTRL + k, U or Ctrl + e, u
Removes the // at the beginning of the current line or every line of the current selection.
Edit. cycleclipboardring
CTRL + Shift + V
Pastes text from the clipboard ring to the cursor location in the file. Subsequent Use of the specified cut key iterates through the items in the clipboard ring.
Edit. Replace
CTRL + H
Displays the replace options inQuickTab OfFind and replaceDialog box.
Edit. replaceinfiles
CTRL + Shift + H
Displays the replace options onIn filesTab OfFind and replaceDialog box.
View. showsmarttag
CTRL +. Or SHIFT + ALT + F10
Displays the available options on the Smart Tag menu.
Edit. invokesnippetfromshortcut
Tab
Inserts the expanded code snippet from the specified cut name.
File
File. newproject
CTRL + Shift + n
DisplaysNew projectDialog box.
File. openproject
CTRL + Shift + O
DisplaysOpen ProjectDialog box, where existing projects can be added to the solution.
Project. addclass
Shift + ALT + c
DisplaysAdd new itemDialog Box and selects class template as default.
Project. addexistingitem
Shift + ALT +
DisplaysAdd existing itemDialog box, where existing files can be added to the current project.
Project. addnewitem
CTRL + Shift +
DisplaysAdd new itemDialog box, where a new file can be added to the current project.
Window. showezmdifilelist
CTRL + ALT + down arrow
Displays a pop-up listing of all open documents.
Edit. openfile
CTRL + O
DisplaysOpen FileDialog box where a file can be selected to be opened. This does not add the file to the project.
Intelliisense
Edit. completeword
CTRL + space or Ctrl + k, W
Completes the current word in the Completion list.
Edit. listmembers
CTRL + J or Ctrl + K, L
Invokes the intelliisense Completion list.
Edit. quickinfo
CTRL + K, I
Displays the complete declaration for the specified identifier in your code in a quick info tool tip.
Edit. parameterinfo
CTRL + Shift + space or Ctrl K, P
Displays the name, number and type of parameters required for the specified method.
Navigation
Edit. findallreferences
Shift + F12 or Ctrl + k, R
Displays a list Of all references for the symbol selected.
Edit. gotobrace
CTRL +]
Moves the cursor location to the matching brace in the source file.
Edit. gotodefinition
F12
Navigates to the Declaration for the selected symbol in code.
Edit. gotonextlocation
F8
Moves the cursor to the next item, such as a task in the task list window or a search match in the find results window. Subsequent invocations will move to the next item in the list.
Edit. incrementalsearch
CTRL + I
Activates incremental search. if incremental search is on, but no input is passed, the previous search query is used. if search input has been found, next invocation searches for the next occurrence of the input text.
View. classviewgotosearchcombo
CTRL + k, CTRL + V
Brings focus toClass View searchBox.
View. forwardbrowsecontext
CTRL + Shift + 7
Moves to the next item called in code in the current file. uses the go to definition navigation stack.
View. navigatebackward
CTRL + minus sign (-)
Moves to the previusly browsed line of code.
View. navigateforward
CTRL + Shift + minus sign (-)
Moves to the next browsed line of code.
View. popbrowsecontext
CTRL + Shift + 8
Moves to the previous item called in code in the current file. uses the go to definition navigation stack.
Edit. findinfiles
CTRL + Shift + F
DisplaysIn filesTab OfFind and replaceDialog box.
Edit. findsymbol
Alt + F12
DisplaysFind symbolPane ofFind and replaceDialog box.
View. ViewCode
F7
Displays the selected item inCodeView of the editor.
View. viewdesigner
Shift + F7
SwitchesDesignView for the current document. available only inSourceView.
View. viewmarkup
Shift + F7
SwitchesSourceView for the current document. available only inDesignView.
Window. movetonavigationbar
CTRL + F2
Moves the cursor to the drop-down bar located at the top of the code editor when the editor is inCodeView orServer codeView.
Edit. Find
CTRL + F
DisplaysQuickTab OfFind and replaceDialog box.
Edit. Goto
CTRL + G
DisplaysGo to lineDialog box.
Edit. gotofindcombo
CTRL +/
Puts the cursor inFind/commandBox onStandardToolbar.
Refactoring
Refactor. encapsulatefield
CTRL + R, E
DisplaysEncapsulate FieldDialog box, which allows creation of a property from an existing field and updates all references to use the new property.
Refactor. extractinterface
CTRL + R, I
DisplaysExtract InterfaceDialog box, which allows creation of a new interface with members derived from an existing class, struct, or interface.
Refactor. extractmethod
CTRL + R, m
DisplaysExtract MethodDialog box, which allows creation of a new method from the selected code.
Refactor. promotelocalvariabletoparameter
CTRL + R, P
Moves a variable from a local usage to a method, indexer, or constructor parameter and updates all call sites appropriately.
Refactor. removeparameters
CTRL + R, V
DisplaysRemove ParametersDialog box, which allows removal of parameters from methods, indexers, or delegates by changing the declaration at any locations where the member is called.
Refactor. Rename
CTRL + R, R or F2
DisplaysRenameDialog box, which allows renaming all references for an identifier.
Refactor. reorderparameters
CTRL + R, O
DisplaysReorder ParametersDialog box, which allows changes to the order of the parameters for methods, indexers, and delegates.
Window
View. classview
CTRL + W, c
DisplaysClass ViewWindow.
View. codedefinitionwindow
CTRL + W, d
DisplaysCode definitionWindow.
View. commandwindow
CTRL + W,
DisplaysCommandWindow, where commands can be invoked to manipulate the integrated development environment (IDE ).
View. errorlist
CTRL + W, E
DisplaysError ListWindow.
View. objectbrowser
CTRL + W, J
DisplaysObject Browser.
View. Output
CTRL + W, O
DisplaysOutputWindow, where status messages can be viewed at run time.
View. propertieswindow
CTRL + W, P
DisplaysPropertiesWindow, which lists the design-time properties and events for the currently selected item.
View. solutionexplorer
CTRL + W, S
DisplaysSolution Explorer, Which lists the projects and files in the current solution.
View. tasklist
CTRL + W, T
DisplaysTask ListWindow, which displays custom tasks, comments, shortcuts, warnings and error messages.
View. toolbox
CTRL + w, x
DisplaysToolbox, Which contains controls that can be encoded or used with your code.
View. serverexplorer
CTRL + W, l
DisplaysServer Explorer, Which lets you view and manipulate database servers, Event Logs, message queues, web services, and other operating system services.
Window. closetoolwindow
Shift + ESC
Closes the current tool window.
Data. showdatasources
Shift + ALT + d
DisplaysData sourcesWindow.
Window. closedocumentwindow
CTRL + F4
Closes the current tab.
Window. nextdocumentwindownav
CTRL + Tab
Displays the IDE navigator, with the first document window selected.
Build
Build. buildsolution
F6 or Ctrl + Shift + B
Builds all the projects in the solution.
Build. buildselection
Shift + F6
Builds the selected project and its dependencies.
Debugging
Debug. Autos
CTRL + D,
DisplaysAutosWindow, which displays variables used in the current line of code and the preceding line of code.
Debug. callstack
CTRL + D, C
DisplaysCall StackWindow, which displays a list of all active methods or stack frames for the current thread of execution.
Debug. Immediate
CTRL + D, I
DisplaysImmediateWindow, where expressions can be evaluated.
Debug. Locals
CTRL + D, L
DisplaysLocalsWindow, which displays the local variables and their values for each method in the current stack frame.
Debug. quickwatch
CTRL + D, Q
DisplaysQuickwatchDialog box that has the current value of the selected expression.
Debug. Start
F5
Launches 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.
Debug. startwithoutdebugging
CTRL + F5
Launches the application without invoking the debugger.
Debug. stepinto
F11
Executes code one statement at a time, following execution into method CILS.
Debug. stepout
Shift + F11
Executes the remaining lines of a method in which the current execution point is located.
Debug. stepover
F10
Executes the next line of code, but does not follow execution through any method CILS.
Debug. stopdebugging
Shift + F5
Stops running the current application under the debugger.
Debug. togglebreakpoint
F9
Sets or removes a breakpoint at the current line.
Debug. Watch
CTRL + D, W
DisplaysWatchWindow, which displays the values of selected variables or watch expressions.
Debug. enablebreakpoint
CTRL + F9
Toggles the breakpoint between disabled and enabled.
Make datatip transparent
[CTRL]
Causes a visible datatip to become transparent.
Notes:
-These key bindings are only available throughVisual C # development settings. To change to the Visual C # development settings, go to tools | Import and Export settings and selectReset all settingsThen selectVisual C # development settings.
-To customize the key bindings for these commands, go to tools | options | environment | keyboard.
Source:Http://geekswithblogs.net/shahed/archive/2007/09/24/115574.aspx