giles davies - vs 2012 tips & tricks

19
Giles Davies Technology Specialist Microsoft DPE Visual Studio Tips & Tricks giles.davies@microso ft.com @VisualStudioUK

Upload: telerik-uk-ltd

Post on 29-Jun-2015

595 views

Category:

Technology


2 download

DESCRIPTION

See the 'Make the most out of Visual Studio' presentation by Giles Davies given at the Telerik Developer Seminar on July 19 2013.

TRANSCRIPT

Page 1: Giles Davies - VS 2012 Tips & Tricks

Giles DaviesTechnology SpecialistMicrosoft DPE

Visual Studio Tips & Tricks

[email protected]@VisualStudioUK

Page 2: Giles Davies - VS 2012 Tips & Tricks

Windows Taskbar and Start Page

Page 3: Giles Davies - VS 2012 Tips & Tricks

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)

Page 4: Giles Davies - VS 2012 Tips & Tricks

UX

Page 5: Giles Davies - VS 2012 Tips & Tricks

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)

Page 6: Giles Davies - VS 2012 Tips & Tricks

Window Management

Page 7: Giles Davies - VS 2012 Tips & Tricks

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

Page 8: Giles Davies - VS 2012 Tips & Tricks

Search

Page 9: Giles Davies - VS 2012 Tips & Tricks

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)

Page 10: Giles Davies - VS 2012 Tips & Tricks

Solution Explorer

Page 11: Giles Davies - VS 2012 Tips & Tricks

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

Page 12: Giles Davies - VS 2012 Tips & Tricks

Code Editor

Page 13: Giles Davies - VS 2012 Tips & Tricks

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)

Page 14: Giles Davies - VS 2012 Tips & Tricks

Coding

Page 15: Giles Davies - VS 2012 Tips & Tricks

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

Page 16: Giles Davies - VS 2012 Tips & Tricks

Team Foundation Service

Page 17: Giles Davies - VS 2012 Tips & Tricks

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!

Page 18: Giles Davies - VS 2012 Tips & Tricks

Q&A

Page 19: Giles Davies - VS 2012 Tips & Tricks

© 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.