Increased productivity with visual c sharp ide

11
Increased productivity with Visual C# IDE March 31 st 2010 Alexandru Ghiondea Software Developer Engineer in Test C# Compiler [email protected]

description

 

Transcript of Increased productivity with visual c sharp ide

Page 1: Increased productivity with visual c sharp ide

Increased productivity with Visual C# IDE

March 31st 2010

Alexandru GhiondeaSoftware Developer Engineer in TestC# [email protected]

Page 2: Increased productivity with visual c sharp ide

Increased productivity with Visual C# IDE

Alexandru GhiondeaSoftware Developer Engineer in TestC# [email protected]

March 31st 2010

Page 3: Increased productivity with visual c sharp ide

Changes across the board!

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

Page 4: Increased productivity with visual c sharp ide

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

Page 5: Increased productivity with visual c sharp ide

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

Page 6: Increased productivity with visual c sharp ide

Navigating code

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

− Call hierarchy− Understand how your method is used

− Highlight references

Page 7: Increased productivity with visual c sharp ide

Writing code

− Generate from usage− Faster to write code

− Improved IntelliSense− Less aggressive

− Code snippets

Page 8: Increased productivity with visual c sharp ide

Debugging code

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

Page 9: Increased productivity with visual c sharp ide

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

Page 10: Increased productivity with visual c sharp ide

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

Page 11: Increased productivity with visual c sharp ide

Q&A