The projection technique can be used to customize the Visual Studio editor for supporting embedded languages. The examples available online, such as the editor customization for Django support scripting languages embedded in HTML. The implementations seem to be tied to the built-in HTML editor.
Does anyone have suggestions on how to achieve similar functionality for languages embedded in C#? I tried to replicate the projection buffer solution used for the Django editor and change the content type from “HTML” to “CSharp”. The editor seems to recognize the C# content as “code” but does not provide syntax highlighting, IntelliSense, etc.