Summary

This chapter covered the Managed Execution Framework and illustrated how you can use it to write extensions for the Visual Studio code editor. You learned the overall architecture of MEF, including its extension discovery mechanisms and the core concepts of parts and imports/exports.

This chapter also examined all the specific Visual Studio 2015 editor extension points and outlined the value that the Visual Studio SDK provides with its prestocked set of extension templates that target those editor extension points.

Finally, this chapter provided a walk-through of the creation of an editor extension that exploits the editor’s adornment layer to display a running total of three different code metrics, all through the use of a WPF-based ...

Get Microsoft Visual Studio 2015 Unleashed, Third Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.