Presentation is loading. Please wait.

Presentation is loading. Please wait.

Microsoft Visual Studio Tips and Tricks

Similar presentations


Presentation on theme: "Microsoft Visual Studio Tips and Tricks"— Presentation transcript:

1 Microsoft Visual Studio Tips and Tricks
7/18/ :10 AM #TEDEV305 Microsoft Visual Studio Tips and Tricks Dustin Campbell Microsoft Corporation Scott Cate EventDay.com © 2007 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.

2 Agenda Get the most out of Visual Studio 2010 Why are you here?
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! Twitter Discussion: #TEDEV305

3 IntelliSense Filtering (Substring and Camel Case)
Suggestion mode (Ctrl + Alt + Space) Undeclared types after “new” (C# only) Twitter Discussion: #TEDEV305

4 Start Page Pin or remove items in “Recent Projects”
Close start page after load Show/Hide Startup Page Pin to Windows Taskbar Show Jump List (Win + Alt + n) Start New Instance (Win + Shift + n) Toggle Instances (Win + n) Twitter Discussion: #TEDEV305

5 Code Editor Tricks Call Hierarchy (Ctrl + K, T – C# only)
Find All References (Shift + F12) Metadata as Source (C# only) Code Definition Window (C# only) Highlight References (Ctrl + Shift + Up/Down) Multi-line Editing (Alt + Shift + Up/Down -or- Alt + Mouse Up/Down) Editor Zoom (Ctrl + Shift + </> -or- Ctrl + Mouse Scroll) Twitter Discussion: #TEDEV305

6 Multiple Monitor Support
Move/Dock floating windows (Win + <arrow key>) Float/Doc tab (Ctrl + Double Click) Twitter Discussion: #TEDEV305

7 Outlining Ad-Hoc outlining regions Collapse to definitions
Hide selection (Ctrl + M, H) Stop hiding selection (Ctrl + M, U) Collapse to definitions Outlining preview on margin hover Double click margin to Expand/Collapse Format Document (Ctrl + K, D) Now works in CSS Twitter Discussion: #TEDEV305

8 Navigation Go to Definition (F12)
Go to Definition Stack (Ctrl + Shift + 7/8 – C# only) Iterate List Window (e.g. Find Results) (F8) Navigate To (Ctrl + ,) Activate Open File (Ctrl + Alt + Down) Next | Previous Method (Ctrl + Up/Down – VB only) Twitter Discussion: #TEDEV305

9 Temporary Projects Quick Code Samples Throw Away Code
Keep Hard Drive clean Save if you want No Solution Support Single Projects Only Twitter Discussion: #TEDEV305

10 New Project Dialog Sort Templates Search / Filter Templates (Ctrl + E)
Add / Find New Templates Online Templates Twitter Discussion: #TEDEV305

11 Writing Code Faster Background Squiggles Smart Tags (Ctrl + .)
Organize Usings Add Using/Import Generate from Usage Error Correction (VB Only) Twitter Discussion: #TEDEV305

12 Code Snippets IntelliSense Expansion (Double <tab>)
Insert Snippet (Ctrl + K, X and ?<tab> in VB) Show/Hide Snippet Highlights (VB only) Twitter Discussion: #TEDEV305

13 Debugging IntelliTrace™ – Back in Time
Breakpoint Name / Group [On|Off] / Export / Import Trace Points Pin and Persist DataTips Adjust DataTip Transparency Run to Cursor (Ctrl + F10) Debugger Visualizers Step Into Specific (Shift + Alt + F11) Twitter Discussion: #TEDEV305

14 Architecture Diagrams
New Modeling Project Diagrams *.dgml Sequence Diagrams Layer Diagrams Twitter Discussion: #TEDEV305

15 Extending Visual Studio 2010
Extension Manager Online Gallery Easy to Enable/Disable Safe Mode Devenv.exe /SafeMode Twitter Discussion: #TEDEV305

16 Popular Extensions CodeRush Xpress Professional Power Tools
Professional Power Tools Document Tab Enhancements Highlight Current Line Column Guides And many more… Power Commands Bag-O-Goodies Twitter Discussion: #TEDEV305

17 http://ScottCate.com/Tricks Video Blog
Tech Ed North America 2010 7/18/ :10 AM Video Blog 100’s of Visual Studio Tips and Tricks Community Project Twitter Discussion: #TEDEV305 © 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.

18 DEV Track Resources http://www.microsoft.com/visualstudio

19 Resources Learning http://northamerica.msteched.com
Tech Ed North America 2010 7/18/ :10 AM Resources Connect. Share. Discuss. Learning Sessions On-Demand & Community Microsoft Certification & Training Resources Resources for IT Professionals Resources for Developers © 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.

20 Complete an evaluation on CommNet and enter to win!
Tech Ed North America 2010 7/18/ :10 AM Complete an evaluation on CommNet and enter to win! © 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.

21 Tech Ed North America 2010 7/18/2018 11:10 AM
© 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.

22 7/18/ :10 AM © 2011 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. © 2009 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.

23


Download ppt "Microsoft Visual Studio Tips and Tricks"

Similar presentations


Ads by Google