The Visual Studio Editor and MEF

Although the MEF is a general-purpose extensibility framework applicable across a wide range of application scenarios, it is particularly applicable to extending the Visual Studio code editor for one simple reason: the editor itself was built by Microsoft using MEF. In other words, the code editor consists of a series of MEF parts. Adding additional parts to extend and change editor behavior is simply a matter of using the MEF design patterns and writing your own MEF parts to be discovered and used by the editor.

If you want to extend the editor, you need to know the exact editor extensibility points; in other words, you need to know which editor feature areas can be easily replaced or enhanced using your own ...

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.