Keybinding Cheat Sheet for 2-May-2008 Web Cast

Published 06 May 08 10:18 PM | tmancini 

I promised you guys I'd provide a cheat sheet for everything I presented at my web cast "Amazing Things You Don't Know About Visual Studio 2008, But Should!"  Here it is.

(Want to see the web cast again?  It's now available on-demand.  Simply follow the link you got in your registration email.  Don't have the link handy, or were you not registered for the live event?  No problem -- just click here to register now and you'll also get access to the on-demand version.)

My first bit of advice was to learn your key bindings.  Want a poster to remind you of them all?

Visual Basic 2008 Keybinding Reference Poster

Visual C# 2008 Keybinding Reference Poster

Visual C++ 2008 Keybinding Reference Poster

You'll note that they are grouped into themes, which each binding in each theme typically starting with the same keystroke combination.  For example, in C#, all window commands start with CTRL+W, all refactoring operations start with CTRL+R and all editing commands start with CTRL+K.

Here are the keystrokes that I highlighted in particular:

Command

C#

VB.NET

Desc.

Project.AddNewItem CTRL+SHIFT+A CTRL+SHIFT+A Displays the Add New Item dialog box, where a new file can be added to the current project.
View.ClassView CTRL+W,C   Displays the Class View window.
Edit.CollapseToDefinitions CTRL+M,O CTRL+M,CTRL+O Collapses existing regions to provide a high level view of the types and members in the source file.
Edit.ToggleAllOutlining CTRL+M,L CTRL+M,CTRL+L Toggles all previously collapsed outlining regions between collapsed and expanded states.
Edit.GoToDefinition F12 F12
or
SHIFT+F2
Navigates to the declaration for the selected symbol in code.
View.ForwardBrowseContext CTRL+SHIFT+7 CTRL+SHIFT+- Moves to the next item called in code in the current file.  Uses the Go To Definition navigation stack.
View.PopBrowseContext CTRL+SHIFT+8 CTRL+SHIFT+F2
or
CTRL+-
Moves to the previous item called in code in the current file.  Uses the Go To Definition stack.
Edit.FindAllReferences SHIFT+F12
or
CTRL+K,R
ALT+SHIFT+F12 Displays a list of all references for the symbol selected.
Edit.GoToNextLocation F8 F3 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.GoToFindCombo CTRL+/   Puts the cursor in the Find/Command box on the Standard toolbar.
View.ViewCode F7 F7 Displays the selected item in Code view of the editor.
View.ViewDesigner SHIFT+F7 SHIFT+F7 Switches to Design view for the current document.  Available only in the Source view.
View.ShowSmartTag CTRL+.
or
SHIFT+ALT+F10
CTRL+.
or
SHIFT+ALT+F10
Displays the available options on the smarttag menu.
Edit.InvokeSnippet
FromShortcut
TAB TAB   Inserts the expanded code snippet from the shortcut name.

Comments

# Xbox » Blog Archive » Keybinding Cheat Sheet for 2-May-2008 Web Cast said on May 6, 2008 7:38 PM:

PingBack from http://xbox.qoablog.info/?p=2256

Anonymous comments are disabled
Page view tracker