开发者

Visual Studio Editor, MEF in-Depth

I have been having difficulty simply writing a Visual Studio Editor Extension with MEF (Managed Extensiblity Framework). I thank those who answered my previous question, as they helped me know that I need to work with MEF.

I've been trying to learn MEF for the Visual Studio Editor from MSDN's page, Extending the Editor, but it appears that I have a hard time understanding it. Can anyone provide strong resource or tutorials in addressing problem such as using the right ContentTypeDefintion (IGlyphFactory, TextMarkTag, etc...), and what is a ITagger.

I need to understand these things, as most of the walkthrough only extending the text, such as only using the "spans" functionality, while I need to use "selection" m开发者_如何学Cethods and use MouseEventHandlers.

Does anyone know an example similiar to my example, or references can tell me something about MEF's for VS editor in-depth?


I'd suggest a couple of additional resources for learning more about editor extensibility.

  • Visual Studio 2010 Editor Extensibility Samples
  • Chris Granger's talk on Language Integration in the 2010 Editor
  • Chris Granger's talk on Lighting up the editor with extensions
  • Visual Studio Editor Forum on MSDN


I'm also trying to integrate a new language into Visual Studio 2010. You could start watching this video:

  • How to integrate a language service (Video)
  • Hope it helps!

    0

    上一篇:

    下一篇:

    精彩评论

    暂无评论...
    验证码 换一张
    取 消

    最新问答

    问答排行榜