<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Visual Studio Editor Blog : MEF</title><link>http://blogs.msdn.com/vseditor/archive/tags/MEF/default.aspx</link><description>Tags: MEF</description><dc:language>en-CA</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>Code Samples, Documentation, and… Twitter!</title><link>http://blogs.msdn.com/vseditor/archive/2009/06/25/code-samples-documentation-and-twitter.aspx</link><pubDate>Fri, 26 Jun 2009 03:40:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9804551</guid><dc:creator>VSEditor</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.msdn.com/vseditor/comments/9804551.aspx</comments><wfw:commentRss>http://blogs.msdn.com/vseditor/commentrss.aspx?PostID=9804551</wfw:commentRss><description>&lt;H4&gt;&lt;A title="VSX Home on Code Gallery" href="http://code.msdn.microsoft.com/vsx" target=_blank mce_href="http://code.msdn.microsoft.com/vsx"&gt;Samples&lt;/A&gt;&lt;/H4&gt;
&lt;P&gt;In an effort to help more people get started with Editor extensibility quickly and easily, we’ve recently posted some new code samples on the VS 2010 Editor.&amp;nbsp; Each of the links below will take you to a sample, complete with description, instructions, and a download of all the code you need.&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;A title="ToDo Glyph Sample" href="http://code.msdn.microsoft.com/ToDoGlyphFactory" target=_blank mce_href="http://code.msdn.microsoft.com/ToDoGlyphFactory"&gt;ToDo Glyphs&lt;/A&gt;:&amp;nbsp; Adds a visual glyph for ToDo items in a file &lt;/LI&gt;
&lt;LI&gt;&lt;A title="Hyperlink Sample" href="http://code.msdn.microsoft.com/hyperlinksample" target=_blank mce_href="http://code.msdn.microsoft.com/hyperlinksample"&gt;Hyperlink&lt;/A&gt;:&amp;nbsp; Enables Ctrl+click navigation to hyperlinks &lt;/LI&gt;
&lt;LI&gt;&lt;A title="Diff Classifier Sample" href="http://code.msdn.microsoft.com/diffclassifier" target=_blank mce_href="http://code.msdn.microsoft.com/diffclassifier"&gt;Diff Classifier&lt;/A&gt;:&amp;nbsp; Provides syntax highlighting for diff/patch files &lt;/LI&gt;
&lt;LI&gt;&lt;A title="Highlight Word Sample" href="http://code.msdn.microsoft.com/highlightword" target=_blank mce_href="http://code.msdn.microsoft.com/highlightword"&gt;Highlight Word&lt;/A&gt;:&amp;nbsp; Uses tagging and adornments to highlight all occurrences of the word under the caret &lt;/LI&gt;
&lt;LI&gt;&lt;A title="Caret Fish Eye Sample" href="http://code.msdn.microsoft.com/caretfisheye" target=_blank mce_href="http://code.msdn.microsoft.com/caretfisheye"&gt;Caret Fish Eye&lt;/A&gt;:&amp;nbsp; Transforms the text in the editor so it appears larger around your caret and smaller elsewhere&lt;/LI&gt;&lt;/UL&gt;
&lt;P&gt;&lt;A title="Screenshot from the RegEx Editor Extension" href="http://editorsamples.codeplex.com/Wiki/View.aspx?title=Regex%20Editor" target=_blank&gt;&lt;IMG style="BORDER-BOTTOM: 0px; BORDER-LEFT: 0px; DISPLAY: inline; BORDER-TOP: 0px; BORDER-RIGHT: 0px" title="Screenshot from the RegEx Editor Extension" border=0 alt="Screenshot from the RegEx Editor Extension" src="http://blogs.msdn.com/blogfiles/vseditor/WindowsLiveWriter/CodeSamplesDocumentationandTwitter_124B6/RegEx%20Thumb_3.png" width=155 height=141&gt;&lt;/A&gt;&lt;A title="Demo Dashboard Extension" href="http://demodashboard.codeplex.com/" target=_blank&gt;&lt;IMG style="BORDER-BOTTOM: 0px; BORDER-LEFT: 0px; DISPLAY: inline; BORDER-TOP: 0px; BORDER-RIGHT: 0px" title="Demo Dashboard Extension" border=0 alt="Demo Dashboard Extension" src="http://blogs.msdn.com/blogfiles/vseditor/WindowsLiveWriter/CodeSamplesDocumentationandTwitter_124B6/Demo%20Dashboard%20Thumb_3.png" width=137 height=137&gt;&lt;/A&gt;&lt;A title="Screenshot from the IntelliSense Presenter Extension" href="http://editorsamples.codeplex.com/Wiki/View.aspx?title=IntelliSense%20Presenter"&gt;&lt;IMG style="BORDER-BOTTOM: 0px; BORDER-LEFT: 0px; DISPLAY: inline; BORDER-TOP: 0px; BORDER-RIGHT: 0px" title="Screenshot from the IntelliSense Presenter Extension" border=0 alt="Screenshot from the IntelliSense Presenter Extension" src="http://blogs.msdn.com/blogfiles/vseditor/WindowsLiveWriter/CodeSamplesDocumentationandTwitter_124B6/IntelliSense%20Presenter%20Thumb_3.png" width=138 height=138&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;There’s also source code available for the &lt;A title="RegEx Editor Sample Code" href="http://editorsamples.codeplex.com/Wiki/View.aspx?title=Regex%20Editor" target=_blank&gt;RegEx Editor&lt;/A&gt;, &lt;A title="Demo Dashboard Sample Code" href="http://demodashboard.codeplex.com/" target=_blank mce_href="http://demodashboard.codeplex.com/"&gt;Demo Dashboard&lt;/A&gt;, &lt;A title="IntelliSense Presenter Sample Code" href="http://editorsamples.codeplex.com/Wiki/View.aspx?title=IntelliSense%20Presenter" target=_blank&gt;IntelliSense Presenter&lt;/A&gt;, and &lt;A title="Image Insertion Sample Code" href="http://editorsamples.codeplex.com/" target=_blank mce_href="http://editorsamples.codeplex.com/"&gt;Image Insertion&lt;/A&gt; extensions, as seen on the &lt;A title="Visual Studio Gallery" href="http://visualstudiogallery.com/" target=_blank mce_href="http://visualstudiogallery.com/"&gt;Visual Studio Gallery&lt;/A&gt; and in the Extension Manager, so you can see how we implemented them :-)&amp;nbsp; You can find all of these and a variety of samples from other teams at the &lt;A title="VSX Home on Code Gallery" href="http://code.msdn.microsoft.com/vsx" target=_blank mce_href="http://code.msdn.microsoft.com/vsx"&gt;VSX sample homepage&lt;/A&gt; – check back periodically because we’ll continue to add new content from now to the final release of VS 2010.&lt;/P&gt;
&lt;H4&gt;&lt;/H4&gt;
&lt;H4&gt;&lt;A title="Documentation on the Visual Studio 2010 Editor" href="http://msdn.microsoft.com/en-us/library/dd885242(VS.100).aspx" target=_blank mce_href="http://msdn.microsoft.com/en-us/library/dd885242(VS.100).aspx"&gt;Documentation&lt;/A&gt;&lt;/H4&gt;
&lt;P&gt;We’ve also heard some feedback that you want more documentation, so here it is:&amp;nbsp; &lt;A title="Documentation on the Visual Studio 2010 Editor" href="http://msdn.microsoft.com/en-us/library/dd885242(VS.100).aspx" target=_blank mce_href="http://msdn.microsoft.com/en-us/library/dd885242(VS.100).aspx"&gt;Beta1 Editor documentation&lt;/A&gt;.&amp;nbsp; You’ll find walkthroughs on extensibility, help with MEF, a list of extension points, and more.&amp;nbsp; It’s a great place to get started.&lt;/P&gt;
&lt;H4&gt;&lt;A title="Visual Studio Editor (VSEditor) on Twitter" href="http://twitter.com/VSEditor" target=_blank mce_href="http://twitter.com/VSEditor"&gt;Twitter&lt;/A&gt;&lt;/H4&gt;
&lt;P&gt;You can always get in touch with the Editor team by commenting on this blog, posting in our &lt;A title="Visual Studio Editor Forum" href="http://social.msdn.microsoft.com/Forums/en-US/vseditorprerelease/threads?prof=required" target=_blank mce_href="http://social.msdn.microsoft.com/Forums/en-US/vseditorprerelease/threads?prof=required"&gt;Beta1 feedback forums&lt;/A&gt;, or &lt;A title="E-mail the Editor team" href="http://blogs.msdn.com/vseditor/contact.aspx" target=_blank mce_href="http://blogs.msdn.com/vseditor/contact.aspx"&gt;e-mailing us directly&lt;/A&gt;.&amp;nbsp; Now there’s one more way to get Editor news and keep in touch with the Editor team:&amp;nbsp; follow &lt;A title="Visual Studio Editor (VSEditor) on Twitter" href="http://twitter.com/VSEditor" target=_blank mce_href="http://twitter.com/VSEditor"&gt;@vseditor on Twitter&lt;/A&gt;!&amp;nbsp; We’re new to Twitter but are already tweeting about new samples, documentation, news, and all things Editor, so check us out!&lt;/P&gt;
&lt;P&gt;Brittany Behrens &lt;BR&gt;Program Manager, VS Platform Team&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9804551" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/vseditor/archive/tags/VS2010/default.aspx">VS2010</category><category domain="http://blogs.msdn.com/vseditor/archive/tags/extensibility/default.aspx">extensibility</category><category domain="http://blogs.msdn.com/vseditor/archive/tags/WPF/default.aspx">WPF</category><category domain="http://blogs.msdn.com/vseditor/archive/tags/MEF/default.aspx">MEF</category><category domain="http://blogs.msdn.com/vseditor/archive/tags/margins/default.aspx">margins</category><category domain="http://blogs.msdn.com/vseditor/archive/tags/adornments/default.aspx">adornments</category><category domain="http://blogs.msdn.com/vseditor/archive/tags/classifiers/default.aspx">classifiers</category><category domain="http://blogs.msdn.com/vseditor/archive/tags/Twitter/default.aspx">Twitter</category></item><item><title>Editor Evolution</title><link>http://blogs.msdn.com/vseditor/archive/2009/04/14/Editor-Evolution.aspx</link><pubDate>Tue, 14 Apr 2009 20:43:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9551884</guid><dc:creator>VSEditor</dc:creator><slash:comments>3</slash:comments><comments>http://blogs.msdn.com/vseditor/comments/9551884.aspx</comments><wfw:commentRss>http://blogs.msdn.com/vseditor/commentrss.aspx?PostID=9551884</wfw:commentRss><description>&lt;P&gt;The new editor is featured in the cover story for the April issue of &lt;A title="Visual Studio Magazine homepage" href="http://visualstudiomagazine.com/" mce_href="http://visualstudiomagazine.com/"&gt;Visual Studio Magazine&lt;/A&gt;! The magazine publishes news and information for professional developers, and this month it is spotlighting Visual Studio 2010 in an article called &lt;A title="" href="http://visualstudiomagazine.com/features/article.aspx?editorialsid=2642" mce_href="http://visualstudiomagazine.com/features/article.aspx?editorialsid=2642" magazine?="Magazine?" Studio="Studio" Visual="Visual" in="in" Evolution?="Evolution?" IDE="IDE"&gt;“IDE Evolution”&lt;/A&gt;. Here are a few highlights:&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;&lt;FONT size=1&gt;“In VS 2010, developers can experience firsthand the beginning of the IDE's evolution: improved code navigation, annotation and extensibility with the WPF-based shell; better performance and scalability for native code; and fundamental improvements in debugging and test-driven development.”&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size=1&gt;&lt;A href="http://visualstudiomagazine.com/features/article.aspx?editorialsid=2642" mce_href="http://visualstudiomagazine.com/features/article.aspx?editorialsid=2642"&gt;&lt;IMG style="BORDER-RIGHT-WIDTH: 0px; DISPLAY: block; FLOAT: none; BORDER-TOP-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; MARGIN-LEFT: auto; BORDER-LEFT-WIDTH: 0px; MARGIN-RIGHT: auto" title="IDE Evolution, Visual Studio Magazine" border=0 alt="IDE Evolution, Visual Studio Magazine" src="http://blogs.msdn.com/blogfiles/vseditor/WindowsLiveWriter/EditorEvolution_F9A4/IDE%20Evolution,%20Visual%20Studio%20Magazine_3.png" width=100 height=175 mce_src="http://blogs.msdn.com/blogfiles/vseditor/WindowsLiveWriter/EditorEvolution_F9A4/IDE%20Evolution,%20Visual%20Studio%20Magazine_3.png"&gt;&lt;/A&gt;“What we want is flexibility and extensibility. For instance, it's because the new editor is WPF-based that we can, for reasonable engineering cost, offer the ability to add inline adornments, margins, even 'heads up display' style extensions. ... The best part is you won't have to wait for us to do these things -- you want profiler information overlaid on your text? No problem. Go do it. Test coverage? Hot links to documentation? Online presence indicators based on e-mail names in comments? You could do all these things.”&lt;/FONT&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;The article gives a great overview not only of the new editor but also of Visual Studio 2010 as a whole, including the new shell, extension manager, Managed Extensibility Framework (MEF), and new features for the Team System (VSTS) editions. If you’re interested in hearing the latest buzz about VS 2010, I’d encourage you to read the article, available free online &lt;A title="" href="http://visualstudiomagazine.com/features/article.aspx?editorialsid=2642" target=_blank mce_href="http://visualstudiomagazine.com/features/article.aspx?editorialsid=2642" magazine?="Magazine?" Studio="Studio" Visual="Visual" in="in" Evolution?="Evolution?" IDE="IDE"&gt;here&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;Brittany Behrens &lt;BR&gt;Program Manager, VS Platform Team&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9551884" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/vseditor/archive/tags/VS2010/default.aspx">VS2010</category><category domain="http://blogs.msdn.com/vseditor/archive/tags/extensibility/default.aspx">extensibility</category><category domain="http://blogs.msdn.com/vseditor/archive/tags/WPF/default.aspx">WPF</category><category domain="http://blogs.msdn.com/vseditor/archive/tags/MEF/default.aspx">MEF</category><category domain="http://blogs.msdn.com/vseditor/archive/tags/press/default.aspx">press</category></item><item><title>A New Editor for Visual Studio</title><link>http://blogs.msdn.com/vseditor/archive/2008/11/10/a-new-editor-for-visual-studoi.aspx</link><pubDate>Mon, 10 Nov 2008 21:10:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9058393</guid><dc:creator>VSEditor</dc:creator><slash:comments>1</slash:comments><comments>http://blogs.msdn.com/vseditor/comments/9058393.aspx</comments><wfw:commentRss>http://blogs.msdn.com/vseditor/commentrss.aspx?PostID=9058393</wfw:commentRss><description>&lt;P style="FONT-SIZE: 11pt; MARGIN: 0in; FONT-FAMILY: Calibri"&gt;Today at TechEd EMEA in Barcelona Spain, Jason Zander demonstrated a ton of new features that are part of the upcoming Visual Studio 2010 &amp;amp; .NET Framework 4.0 release.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;One of the key&amp;nbsp;features that was well received by the audience was the New Editor for Visual Studio.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;In his demo, Jason showed how the New Editor built on top of Windows Presentation Framework (WPF) and the&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;Managed Extensibility Framework (MEF) enables developers to extend the editor by showing several fun editor extensions.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="FONT-SIZE: 11pt; MARGIN: 0in; FONT-FAMILY: Calibri" mce_keep="true"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="FONT-SIZE: 11pt; MARGIN: 0in; FONT-FAMILY: Calibri"&gt;The first editor extension shown was actually provided by one of our VSIP Partners, DevExpress.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;They've been working with the Visual Studio 2010 CTP over the last few weeks to provide a custom comment &amp;amp;&amp;nbsp;image&amp;nbsp;viewer inside of the Editor which demo was used to display a sequence diagram inside the code file.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="FONT-SIZE: 11pt; MARGIN: 0in; FONT-FAMILY: Calibri"&gt;&lt;SPAN style="mso-spacerun: yes"&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="FONT-SIZE: 11pt; MARGIN: 0in; FONT-FAMILY: Calibri"&gt;The next sample extension was the "Method History Pop-up".&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;It made use of Adornments to color code each line depending on the last developer who had touched the line and used WPF to provide a graphical animated representation of the code churn over time.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="FONT-SIZE: 11pt; MARGIN: 0in; FONT-FAMILY: Calibri" mce_keep="true"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="FONT-SIZE: 11pt; MARGIN: 0in; FONT-FAMILY: Calibri"&gt;One common request that I get is for the ability to view the history of a file.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;With the "Micro-V" extension, Jason showed a slider at the top of the editor which switched on a historical mode that allowed him to go back and view the editing history of the file with an inline diff.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="FONT-SIZE: 11pt; MARGIN: 0in; FONT-FAMILY: Calibri" mce_keep="true"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="FONT-SIZE: 11pt; MARGIN: 0in; FONT-FAMILY: Calibri"&gt;The document map margin provides an zoomed out view of the code editor which allows users to quickly navigate to important landmarks in their code.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;This extension to the editor demonstrated extensible margins which allow developers to add views to the side or above &amp;amp; below the editor.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="FONT-SIZE: 11pt; MARGIN: 0in; FONT-FAMILY: Calibri" mce_keep="true"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="FONT-SIZE: 11pt; MARGIN: 0in; FONT-FAMILY: Calibri"&gt;&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp;&lt;/SPAN&gt;Jason also invoked up an XML Comment Adornment which replaced existing XML comments with a much easier to read view over the comments.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;This was yet another example of how adornments to the code can change the way developers read &amp;amp; modify their code.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="FONT-SIZE: 11pt; MARGIN: 0in; FONT-FAMILY: Calibri" mce_keep="true"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="FONT-SIZE: 11pt; MARGIN: 0in; FONT-FAMILY: Calibri"&gt;If you're curious about the New Editor in Visual Studio or you want to try to write your own extensions, I'd recommend downloading the "Visual Studio 2010 CTP here: &lt;A href="http://www.microsoft.com/downloads/details.aspx?FamilyId=922B4655-93D0-4476-BDA4-94CF5F8D4814" mce_href="http://www.microsoft.com/downloads/details.aspx?FamilyId=922B4655-93D0-4476-BDA4-94CF5F8D4814"&gt;http://www.microsoft.com/downloads/details.aspx?FamilyId=922B4655-93D0-4476-BDA4-94CF5F8D4814&lt;/A&gt;&lt;/P&gt;
&lt;P style="FONT-SIZE: 11pt; MARGIN: 0in; FONT-FAMILY: Calibri" mce_keep="true"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="FONT-SIZE: 11pt; MARGIN: 0in; FONT-FAMILY: Calibri"&gt;Sean Laberee&lt;/P&gt;
&lt;P style="FONT-SIZE: 11pt; MARGIN: 0in; FONT-FAMILY: Calibri"&gt;Lead Program Manager&lt;/P&gt;
&lt;P style="FONT-SIZE: 11pt; MARGIN: 0in; FONT-FAMILY: Calibri"&gt;VS Platform Team&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9058393" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/vseditor/archive/tags/VS2010/default.aspx">VS2010</category><category domain="http://blogs.msdn.com/vseditor/archive/tags/TechEd/default.aspx">TechEd</category><category domain="http://blogs.msdn.com/vseditor/archive/tags/extensibility/default.aspx">extensibility</category><category domain="http://blogs.msdn.com/vseditor/archive/tags/WPF/default.aspx">WPF</category><category domain="http://blogs.msdn.com/vseditor/archive/tags/MEF/default.aspx">MEF</category><category domain="http://blogs.msdn.com/vseditor/archive/tags/VSIP/default.aspx">VSIP</category></item></channel></rss>