150 likes | 311 Views
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
E N D
Tips And Tricks For The Visual C# IDE Dustin Campbell VB IDE Program Manager Microsoft Corporation
announcing DevExpressCodeRush Xpress
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
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
Basic Flow [08]Visual Studio 2008 [08 SP]Visual Studio 2008 SP1 [+]Out-of-the-box [CRX]CodeRush Xpress
demo Understanding And Navigating Code Dustin Campbell VB IDE Program Manager Microsoft
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)
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)
demo Writing and Modifying Code Dustin Campbell VB IDE Program Manager Microsoft
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+`)
Evals & Recordings Please fill out your evaluation for this session at: This session will be available as a recording at: www.microsoftpdc.com
Q&A Please use the microphones provided
© 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.