1 / 35

Visual Studio Tips and Tricks Touring Edition

Email: zainnab@microsoft.com Twitter: @zainnab Blog: blogs.msdn.com/ zainna b. Visual Studio Tips and Tricks Touring Edition. Zain Naboulsi Developer Evangelist Microsoft. http://www.amazon.com/Coding-Faster-Getting-Productive-Microsoft/dp/0735649928/. Agenda. Why?

shira
Download Presentation

Visual Studio Tips and Tricks Touring Edition

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. Email:zainnab@microsoft.com Twitter: @zainnab Blog:blogs.msdn.com/zainnab Visual StudioTips and TricksTouring Edition Zain Naboulsi Developer Evangelist Microsoft

  2. http://www.amazon.com/Coding-Faster-Getting-Productive-Microsoft/dp/0735649928/http://www.amazon.com/Coding-Faster-Getting-Productive-Microsoft/dp/0735649928/

  3. Agenda • Why? • Visual Studio 2010 Productivity • Productivity for Any Version • Final Thoughts

  4. Why?

  5. How I Got Involved… • Sara Ford and I met at DevLink in 2009 to discuss how to continue the series • After several months of conversations I agreed to carry on the series • VS2010 Tips and Tricks went live on Jan 1, 2010 http://blogs.msdn.com/ZainNab

  6. Why? • Quick Test: • Which product do you spend more time in: Visual Studio or (Word, Excel, Power Point)? • Most of the content out there doesn’t really focus on Visual Studio as a product that you live in daily • If I can shave just a little time off your coding efforts then you can go home, be with your family, play video games, or whatever you want to do -- earlier

  7. Visual Studio 2010

  8. Start Page • Pin projects • Close after load

  9. New Project Dialog • Recent Templates • Online Templates • Sort by • Search

  10. Editor

  11. Zoom CTRL + Mouse Wheel New feature that enhances the size of your code Very useful for pair programming (or similar scenarios)

  12. Reference Highlighting Automatic highlighting of a symbol Can be used with declarations and references, and many other symbols CTRL+SHIFT+DOWN ARROW (forward) CTRL+SHIFT+UP ARROW (reverse)

  13. Box Selection • SHIFT + ALT + [ARROW] • AKA “Vertical Selection” • Two new features: • Zero-length selection • Copy single / Paste multiple

  14. Improved IntelliSense • Changed from “begins with” to “includes” • Sensitive to Pascal Case

  15. Move or Select Between Matching Braces • CTRL + ] • CTRL + SHIFT + ] • Quickly move between matching braces • C++, C# Only

  16. Tools

  17. Document Tabs to the Right Tools -> Options -> Documents Puts new tabs to the right of existing ones

  18. Multi-Monitor Support • Can now drag document windows out of the IDE • Each window is independent

  19. Call Hierarchy (C# Only) CTRL + ALT + K Available in C# Used to see calls to and from a method Great way to see calls at design time

  20. Searching the Toolbox • / = Collapse All • * = Expand All • Type any text to searchNOTE: “begins with” • TAB = Find Next

  21. Debugging

  22. Breakpoint Labels

  23. Searching Breakpoints

  24. Import / Export Breakpoints

  25. Data Tips

  26. Import / Export DataTips • Pinned Data Tips can be imported and exported • Debug -> Import / Export Data Tips

  27. Tips for Almost Any Version

  28. Don’t Copy a Blank Line

  29. Errors in the Output Window • Navigates errors in the Output Window • F8(forward) • SHIFT + F8 (reverse)

  30. File Tab

  31. Command Line Lists • F7 • Show the list of commands used during any command line session • Allows for quick access to commands

  32. Item / Project Templates • Roll your own templates for items and projects • Cut down significantly on time to get started coding

  33. Classic Help • Get your contents back • Just like “old school” help • Requires online help option

  34. Call Stack Breakpoints • Breakpoints (and tracepoints) can be set in the Call Stack • Great way to work with deep stacks

More Related