Increased productivity with visual c sharp ide

Post on 13-Dec-2014

1.117 views 1 download

Tags:

description

 

Transcript of Increased productivity with visual c sharp ide

Increased productivity with Visual C# IDE

March 31st 2010

Alexandru GhiondeaSoftware Developer Engineer in TestC# CompilerGhiondea.Alexandru@microsoft.com

Increased productivity with Visual C# IDE

Alexandru GhiondeaSoftware Developer Engineer in TestC# CompilerGhiondea.Alexandru@microsoft.com

March 31st 2010

Changes across the board!

− WPF based shell− Multi monitor support− Improved docking experience− Extension manager− Online templates− Zoom

Thinking about productivity

• New team member / new project for the team

• Helps analyze relationships and structure

Understanding code

• Locates code in unfamiliar code bases• Understand call graphs

Navigating code

• Consume first development• Code generationWriting code

• Stepping behavior• Inspect object properties

Debugging code

Understanding code

− Architecture explorer− Explore the solution class by class or file

by file− Build diagrams to better understand the

code− Dependency graphs

− Easy way to understand dependencies− Analyzers can highlight problem areas

− Sequence diagram− Helps describe what a method does

Navigating code

− Navigate to− Fast search of symbols in your solution− Advanced matching

− Call hierarchy− Understand how your method is used

− Highlight references

Writing code

− Generate from usage− Faster to write code

− Improved IntelliSense− Less aggressive

− Code snippets

Debugging code

− IntelliTrace! Step backward− Pin-able data tips− Enhanced breakpoints window− Redesigned threads window

Shortcuts summary− Zoom in/out: CTRL+Scroll− Call hierarchy: CTRL+W, K− Expand smart tags: CTRL+.− Generate from usage: CTRL+.− Navigate to: CTRL+,− Highlight references: CTRL+SHIFT+Down/Up− Switch IntelliSense type: CTRL+ALT+Space− Hide Selection: CTRL+M, CTRL+H− Collapse to definitions: CTRL+M, O− Remove line: CTRL+L− Find all references: SHIFT+F12− Go to definition: F12− Step backwards: CTRL+SHIFT+F11

Additional Resources

− C# 4.0 Samples and Whitepaper− http://code.msdn.microsoft.com/csharpfuture

− Visual C# Developer Center− http://csharp.net

− C# team member’s blogs− http://blogs.msdn.com/ericlippert/− http://blogs.msdn.com/cburrows/− http://blogs.msdn.com/samng/− http://blogs.msdn.com/sreekarc/ − http://blogs.msdn.com/mattwar/− http://blogs.msdn.com/ed_maurer/− http://blogs.msdn.com/davsterl/ − http://blogs.msdn.com/alexghi

Q&A