IntelliSense based snippet handling with Visual Studio 2010 SDK MEF Based text editor

Posted by Nicolai Ustinov on Stack Overflow See other posts from Stack Overflow or by Nicolai Ustinov
Published on 2010-04-15T07:36:49Z Indexed on 2010/05/23 3:30 UTC
Read the original article Hit count: 393

Using the new Visual Studio 2010 SDK developing against the MEF based editor structure there's a question:

How can I use the MEF editor interfaces to handle snippet behavior in IntelliSense? The ICompletionSession itself is not a problem (e.g. get the available snippets) rather filling the snippet, handling the subsequently expected actions like tab, enter behavior, text replacement, etc.

Is there any way to do that without a language service? Checking the built-in behavior in Visual Studio base editor implementation they built the MEF interfaces on top of a set of language service based objects.

© Stack Overflow or respective owner

Related posts about c#

Related posts about visual-studio-2010