1 / 24

Microsoft Visual Studio 2010 Tips and Tricks

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

garima
Download Presentation

Microsoft Visual Studio 2010 Tips and Tricks

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


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

  2. 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!

  3. Entire presentation is available online • Mini Screen Cast Series on ScottCate.com/Tricks No Need for Notes DEMO Twitter Discussion: #DEV315

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

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

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

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

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

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

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

  11. Sort Templates • Search / Filter Templates • Add / Find new Templates • Online Templates New Project Dialog DEMO http://ScottCate.com/Tricks/DEV315-NewProjects Twitter Discussion: #DEV315

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

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

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

  15. New Modeling Project • Diagrams *.dgml • Sequence Diagrams • Layer Diagrams Architecture Diagrams DEMO http://ScottCate.com/Tricks/DEV315-Diagrams Twitter Discussion: #DEV315

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

  17. Document Tab Enhancements • Highlight Current Line • Column Guides • And many more … Professional Power Tools DEMO http://ScottCate.com/Tricks/DEV315-PowerTools Twitter Discussion: #DEV315

  18. http://ScottCate.com/Tricks Video Blog 100’s of Visual Studio Tips and Tricks Community Project PARTNER

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

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

  21. Required Slide Complete an evaluation on CommNet and enter to win!

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

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

  24. Required Slide

More Related