1 / 15

Tips And Tricks For The Visual C# IDE

Tips And Tricks For The Visual C# IDE.  Dustin Campbell VB IDE Program Manager Microsoft Corporation. Developer Landscape. announcing. DevExpress CodeRush Xpress. DevExpress CodeRush Xpress Features. Editing code Extend/shrink selection Camel-case navigation Duplicate line

odina
Download Presentation

Tips And Tricks For The Visual C# IDE

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. Tips And Tricks For The Visual C# IDE  Dustin Campbell VB IDE Program Manager Microsoft Corporation

  2. Developer Landscape

  3. announcing DevExpressCodeRush Xpress

  4. DevExpressCodeRush Xpress Features • Editing code • Extend/shrink selection • Camel-case navigation • Duplicate line • Highlight usages • Tab to Next Reference • Smart Cut/Copy • Paste Replace • TDD • Generate from usage • Navigation • Go to file name • Go to symbol • Refactorings • Introduce variable • Inline variable • Name Anonymous Type • Decompose Parameter • Name Anonymous Method • Inline Delegate • Compress to Lambda Expression • Expand Lambda Expression • Extract Method to Type

  5. DevExpressCodeRush Xpress More features! • Context Actions • Invert “If” (Reverse Conditional) • Merge nested “If” statements (Combine Conditionals) • Split complex “If” statements (Split Conditionals) • Flatten Conditional • Add/Remove Block Delimiters • Convert to Auto-implemented Property • Create Backing Store • Use String.Format • Use StringBuilder • Use object/collection initializer when possible (Convert to Initializer) • Decompose Initializer • Use ‘var’ in declaration and vice versa (Make Implicit/Explicit) • Move Type to File • Compress to Ternary Expression • Expand Ternary Expression

  6. Basic Flow [08]Visual Studio 2008 [08 SP]Visual Studio 2008 SP1 [+]Out-of-the-box [CRX]CodeRush Xpress

  7. demo Understanding And Navigating Code  Dustin Campbell VB IDE Program Manager Microsoft

  8. Understanding And Navigating Tips in review • Analyze Relationships • Class designer • Quick Information • Go to definition (F12) • Go to definition stack (Ctrl+Shift+7, Ctrl+Shift+8) • Find all references (Shift+F12) • Metadata as source • Code definition window • Iterating list windows (F8) • Go to open file (Ctrl+Alt+Down)

  9. Understanding And Navigating Tips in review • Quick Information • [CRX] Go to file (Ctrl+Alt+F) • [CRX] Go to symbol (Ctrl+Shift+Q) • [CRX] Highlight usages (Ctrl+Alt+U) • [CRX] Tab to next reference (Tab) • Find Current Location • [+] Source code outliner • Track active file in Solution Explorer(Tools | Options | Projects and Solutions | Track Active File in Solution Explorer)

  10. demo Writing and Modifying Code  Dustin Campbell VB IDE Program Manager Microsoft

  11. Writing And Modifying Tips in review • [08 SP] Solution-wide TODO tasks • Code Snippets (Double-Tab, Ctrl+K,X) • [+] Snippet Designer • [08 SP] Background squiggles • [08] Organize usings • [CRX] Camel-case navigation (Alt+Left, Alt+Right) • [CRX] Expand/shrink selection (Ctrl+W, Ctrl+Shift+W) • [CRX] Name Anonymous Type (Ctrl+`)

  12. Evals & Recordings Please fill out your evaluation for this session at: This session will be available as a recording at: www.microsoftpdc.com

  13. Q&A Please use the microphones provided

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