240 likes | 455 Views
Required Slide. SESSION CODE: DEV315. Microsoft Visual Studio 2010 Tips and Tricks. Visual Studio 2010 Tips and Tricks Team Talk ( Twitter Hash #DEV315 ). Dustin Campbell Microsoft Corporation. Scott Cate (@ScottCate) myKB.com Software. Agenda. Get the most out of Visual Studio 2010
E N D
Required Slide SESSION CODE: DEV315 Microsoft Visual Studio 2010 Tips and Tricks Visual Studio 2010 Tips and TricksTeam Talk ( Twitter Hash #DEV315 ) Dustin Campbell Microsoft Corporation Scott Cate (@ScottCate) myKB.com Software.
Agenda • Get the most out of Visual Studio 2010 • Better / Faster / Code Tricks / Fun Facts / Bets with Friends • Why are you here? • Everyone will learn something • If one tip saves one minute per hour • Do some fuzzy math and …. • Every tip will save you 1 year of coding • Retire Today!
Entire presentation is available online • Mini Screen Cast Series on ScottCate.com/Tricks No Need for Notes DEMO Twitter Discussion: #DEV315
camelCase / Substring Filters • Suggestion mode [CTRL]+[ALT]+[SPACE] • Undeclared types after “new” ( C# Only ) Intellisense DEMO http://ScottCate.com/Tricks/DEV315-Intellisense Twitter Discussion: #DEV315
Pinning and Unpinning Projects • Remove projects from list • Close start page after load • Show/Hide Startup Page • Pin to Win7 Task Bar • [WIN]+[ALT]+[Position] Start Page DEMO http://ScottCate.com/Tricks/DEV315-StartPage Twitter Discussion: #DEV315
Call Hierarchy ( C# Only ) • Find all references [SHIFT]+[F12] • Metadata as Source ( C# Only ) • Code Definition Window ( C# Only ) • Highlight references and keywords • Navigating Highlights [CTRL]+[SHIFT]+[UP|DOWN] • Multi Line Edit – Box Select • ZOOM Mouse and Keyboard [CTRL]+[SHIFT]+[<|>] Code Editor Tricks DEMO http://ScottCate.com/Tricks/DEV315-EditorTricks Twitter Discussion: #DEV315
Floating document(s) window(s) • Windows 7 [WIN]+[ARROW] Support • Double click behavior Multiple Monitor Support DEMO http://ScottCate.com/Tricks/DEV315-MultiMon Twitter Discussion: #DEV315
Ad-Hoc Regions • Hide [CTRL]+[M],[H] • Show [CTRL]+[M],[U] • Collapse to definition • Outlining preview on margin hover • Double click margin to Expand/Collapse Outlining DEMO http://ScottCate.com/Tricks/DEV315-Outlining Twitter Discussion: #DEV315
Go to Definition [F12] • Go to Definition Stack ( C# Only ) [CTRL]+[SHIFT]+[7|8] • Iterate List Window (IE. Find Results) [F8] • Navigate To [CTRL]+[,] • Navigate to open file selection [CTRL]+[ALT]+[DOWN] • Next | Previous Method ( VB Only) [CTRL]+[UP|DOWN] Navigation DEMO http://ScottCate.com/Tricks/DEV315-Navigation Twitter Discussion: #DEV315
Quick Code • Samples • Throw Away Code • Keep Hard Drive clean • Save if you want • No Solution Support • Single Projects Only Throw Away or Temp Projects DEMO http://ScottCate.com/Tricks/DEV315-TempProjects Twitter Discussion: #DEV315
Sort Templates • Search / Filter Templates • Add / Find new Templates • Online Templates New Project Dialog DEMO http://ScottCate.com/Tricks/DEV315-NewProjects Twitter Discussion: #DEV315
Background Squigglies • Smart Tag Shortcut [CTRL]+[.] • Add Using|Import statements • Generate from Usage • Error Correction ( VB Only ) Writing Code Faster DEMO http://ScottCate.com/Tricks/DEV315-WriteCodeFaster Twitter Discussion: #DEV315
Double [TAB] Expansion • Insert Snippet • [CTRL]+[K] and [CTRL]+[X] • [?]+[TAB] Snippets Dialog ( VB Only ) • Toggle Snippet Visibility ( VB Only ) Code Snippets DEMO http://ScottCate.com/Tricks/DEV315-CodeSnippets Twitter Discussion: #DEV315
IntelliTrace – Back in Time • Breakpoint Name / Group [On|Off] / Export / Import • Trace Points • Pin / Persists Data Tips • Adjust Data Tips Transparency • Run to Cursor [CTRL]+[F10] • Debugger Visualizers Debugging DEMO http://ScottCate.com/Tricks/DEV315-Debugging Twitter Discussion: #DEV315
New Modeling Project • Diagrams *.dgml • Sequence Diagrams • Layer Diagrams Architecture Diagrams DEMO http://ScottCate.com/Tricks/DEV315-Diagrams Twitter Discussion: #DEV315
Extension Manager • Online Gallery • Easy to Enable|Disable • Safe Mode • Devenv.exe /SafeMode Extending Visual Studio 2010 DEMO http://ScottCate.com/Tricks/DEV315-ExtendVS2010 Twitter Discussion: #DEV315
Document Tab Enhancements • Highlight Current Line • Column Guides • And many more … Professional Power Tools DEMO http://ScottCate.com/Tricks/DEV315-PowerTools Twitter Discussion: #DEV315
http://ScottCate.com/Tricks Video Blog 100’s of Visual Studio Tips and Tricks Community Project PARTNER
Required Slide Track PMs will supply the content for this slide, which will be inserted during the final scrub. Track Resources • Visual Studio – http://www.microsoft.com/visualstudio/en-us/ • Soma’s Blog – http://blogs.msdn.com/b/somasegar/ • MSDN Data Developer Center – http://msdn.com/data • ADO.NET Team Blog – http://blogs.msdn.com/adonet • WCF Data Services Team Blog – http://blogs.msdn.com/astoriateam • EF Design Blog – http://blogs.msdn.com/efdesign
Required Slide Resources Learning • Sessions On-Demand & Community • Microsoft Certification & Training Resources www.microsoft.com/teched www.microsoft.com/learning • Resources for IT Professionals • Resources for Developers • http://microsoft.com/technet • http://microsoft.com/msdn
Required Slide Complete an evaluation on CommNet and enter to win!
Sign up for Tech·Ed 2011 and save $500 starting June 8 – June 31st http://northamerica.msteched.com/registration You can also register at the North America 2011 kiosk located at registrationJoin us in Atlanta next year
© 2010 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista 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.