350 likes | 468 Views
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?
E N D
Email:zainnab@microsoft.com Twitter: @zainnab Blog:blogs.msdn.com/zainnab Visual StudioTips and TricksTouring Edition Zain Naboulsi Developer Evangelist Microsoft
http://www.amazon.com/Coding-Faster-Getting-Productive-Microsoft/dp/0735649928/http://www.amazon.com/Coding-Faster-Getting-Productive-Microsoft/dp/0735649928/
Agenda • Why? • Visual Studio 2010 Productivity • Productivity for Any Version • Final Thoughts
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
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
Start Page • Pin projects • Close after load
New Project Dialog • Recent Templates • Online Templates • Sort by • Search
Zoom CTRL + Mouse Wheel New feature that enhances the size of your code Very useful for pair programming (or similar scenarios)
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)
Box Selection • SHIFT + ALT + [ARROW] • AKA “Vertical Selection” • Two new features: • Zero-length selection • Copy single / Paste multiple
Improved IntelliSense • Changed from “begins with” to “includes” • Sensitive to Pascal Case
Move or Select Between Matching Braces • CTRL + ] • CTRL + SHIFT + ] • Quickly move between matching braces • C++, C# Only
Document Tabs to the Right Tools -> Options -> Documents Puts new tabs to the right of existing ones
Multi-Monitor Support • Can now drag document windows out of the IDE • Each window is independent
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
Searching the Toolbox • / = Collapse All • * = Expand All • Type any text to searchNOTE: “begins with” • TAB = Find Next
Import / Export DataTips • Pinned Data Tips can be imported and exported • Debug -> Import / Export Data Tips
Errors in the Output Window • Navigates errors in the Output Window • F8(forward) • SHIFT + F8 (reverse)
Command Line Lists • F7 • Show the list of commands used during any command line session • Allows for quick access to commands
Item / Project Templates • Roll your own templates for items and projects • Cut down significantly on time to get started coding
Classic Help • Get your contents back • Just like “old school” help • Requires online help option
Call Stack Breakpoints • Breakpoints (and tracepoints) can be set in the Call Stack • Great way to work with deep stacks