Giles DaviesTechnology SpecialistMicrosoft DPE
Visual Studio Tips & Tricks
[email protected]@VisualStudioUK
Windows Taskbar and Start Page
Start Page Show page on startup Close page after project load Pin or remove items in “Recent” list Windows 7 and 8 Taskbar Magic
Pin recent projects Show Jump List (Win+Alt + n) Start new instance (Win+Shift + n) Start new instance as admin (Win+Shift+Ctrl + n) Toggle instances (Win + n) Toggle instances (without Aero Peek) (Win+Ctrl + n)
UX
UX Colour themes; light and dark Color Theme Editor extension for blue and others Upper case toolbars Registry hack All Caps Menu extension Hide Main Menu extension (Alt to show)
Window Management
Window Management Pinned document tabs Move/Dock in Windows 7 and 8 (Win + <arrow key>)
Float/Dock in Visual Studio (Ctrl + Double Click)
Preview Tab + toolbar button Split or create new window Close All Documents (Alt + W, L)
Focus Tool Window Toolbar (Shift + Alt)
Go to definition (F12) (Code Definition window)
Find all references (Shift F12)
Quick navigation (Ctrl + ,)
List of open files (Ctrl + Alt + <down arrow key>)
Open file in Explorer
Search
Search• Quick Launch (Ctrl + Q)
Use @ prefix to filter search (e.g. @opt, @nuget)
• Visual Studio Windows Solution Explorer (Ctrl + ;) Team Explorer (Ctrl + #) Search in modal dialogs (Ctrl + E)
Solution Explorer
Solution Explorer• Drill down into types and members • Scoped solution explorer• Pivots (Is Used By, Calls etc..)• Collapse projects • Open multiple documents (F7)
• Sync to Active Document (Ctrl + [, S)
• Filters Pending Changes Open Files
Code Editor
Code Editor Zoom (Ctrl+Shift + </> or Ctrl + Mouse Scroll)
Trout Zoom extension to work across all files Incremental search (Ctrl + I, F3 to find next) Multiline Editing/box select (Alt+Shift + Up/Down or Alt + Mouse
Up/Down) Highlight References (Ctrl+Shift + Up/Down)
Coding
Coding • IntelliSense
Filtering (Substring and Camel Case) Suggestion mode (Ctrl+Alt + Space) and toolbar button Undeclared types after “new”
• Smart Tags (Ctrl + .) Rename Generate from Usage Add Using/Import
• Unit Tests Multiple framework support Group By Traits Playlists
• Temporary Projects
Team Foundation Service
Team Foundation Service
Included for certain paid MSDN subscribers:
Free Plan for up to 5 users
Additional information at http://tfs.visualstudio.com
* Capability in preview – limits may apply. Authoring load tests requires Visual Studio Ultimate 2013 Preview.
Version control (TFVC or Git) Comment on changesets & commits Work item tracking and tagging Team rooms Agile planning tools Feedback Management Agile Portfolio Management* Build* Web-based test case management* Load testing*
New!
New!
New!
New!
Q&A
© 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries.The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
© 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries.The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.