1 / 12

Tips & tricks: how to use Visual Studio to the fullest

TOOL-830T. Tips & tricks: how to use Visual Studio to the fullest. Weston Hutchins Senior Program Manager Microsoft Corporation. Phil Price Senior SDET Microsoft Corporation. Guaranteed To Make You More Productive. What we’ll be covering….

Jims
Télécharger la présentation

Tips & tricks: how to use Visual Studio to the fullest

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. TOOL-830T Tips & tricks: how to use Visual Studio to the fullest Weston Hutchins Senior Program Manager Microsoft Corporation Phil Price Senior SDET Microsoft Corporation

  2. Guaranteed To Make You More Productive

  3. What we’ll be covering… • 60 minutes of rapid-fire tips and tricks for Visual Studio • C#, VB, and C++ • VS 2010 and VS 11 features • Polled VS developers to list their favorite tips and tricks • Agenda • Writing and Navigating Code Faster • Managing Your Environment • Search and Find • Efficient Debugging

  4. Reference

  5. Writing and Navigating Code Faster • IntelliSense • Filtering (Substring and Camel Case) • Suggestion Mode (Ctrl+Alt+Space) • Smart Tags (Ctrl+.) • Add Using/Import • Generate Method/Class From Usage • Snippets • Snippet Picker (Ctrl+K,X) • Surround With (Ctrl+K,S – C#, VS11 C++ only) • Go To Definition (F12) • Go To Definition Stack (Ctrl+Shift+8/7) • Navigate Highlighted References (Ctrl+Shift+Up/Down) • Block Selection (Hold Alt and Drag Mouse) • Editor Zoom (Ctrl+Shift+</> or Ctrl+Mouse Wheel)

  6. Managing Your Environment • Window Management • Drag Off Floating Tab Wells (Ctrl+click for multi-select) • Maximize Floating Window (double-click on title bar) • Re-dock Floating Window (Ctrl+double-click on title bar) • Show Open File List (Ctrl+Alt+Down) • Windows shortcuts • Move/Dock Floating Windows (Win + Left/Right) • Maximize/Minimize Floating Windows (Win + Up/Down) • Show Jumplist(Win+Alt+n) • Start New Instance (Win+Shift+n) • Switch Between Windows (Win+n) • Toolbars • Add Buttons (click the overflow) • Find Combo Command Mode (Ctrl+/ or type ‘>’) • Command Aliases (MSDN link) • Open File (‘>of filename’)

  7. Search and Find • Search • Solution Navigator Search (Ctrl+;) • Place Focus in Search (Alt+` when tool window has focus) • Quick Launch (Ctrl+`) • Options Keyword Phrases • Scope Results (@categoryshortcut- @opt, @cmd, @mru, @doc) • Find • New Find UI (Ctrl+F) • .NET Regular Expressions (Ctrl+F->Alt+Down->Alt+E) • Expand Drop-down (Alt+Down) • Replace (Ctrl+H) • Replace Next (Alt+R) • Replace All (Alt+A) • Find in Files (Ctrl+Shift+F) • Replace in Files (Ctrl+Shift+H) • Customizing Find Results (Blog link)

  8. Efficient Debugging • Start Debugging (F5) • Stop Debugging (Shift+F5) • Restart Debugging (Ctrl+Shift+F5) • Step Over (F10), Step Into (F11), Step Out (Shift+F11) • Run to Cursor (Ctrl+F10) • Change Debugger Execution Point (Ctrl+Shift+F10) • Pinned DataTips • Conditional Breakpoints and Tracepoints • Set and Toggle Breakpoint (F9) • Disable Breakpoint (Ctrl+F9) • Output Window (Ctrl+Alt+O) • Immediate Window (Ctrl+Alt+I) • Command Mode (‘>’) • Clear Buffer (‘>cls’) • Print Value (‘?varname’)

  9. For More Information • Visual Studio Blog (http://blogs.msdn.com/b/visualstudio/) • Visual Studio Toolbox on Channel 9 (http://channel9.msdn.com/Shows/Visual-Studio-Toolbox) • VS Tips and Tricks Blog (http://blogs.msdn.com/b/zainnab/) • Scott Cate’s Tricks (http://scottcate.com/tricks)

  10. thank you Feedback and questions http://forums.dev.windows.com Session feedbackhttp://bldw.in/SessionFeedback

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

More Related