Quantcast
Channel: Visual Studio Integrate forum
Viewing all articles
Browse latest Browse all 4410

Visual Studio Extension: How to use projection buffers to support languages embedded in C#

$
0
0

The projection technique projection technique can be used to customize the Visual Studio editor for supporting embedded languages.

The examples available here, here and here (editor customization for Django) all 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 languagesembedded 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 content as “code” but does not provide syntax highlighting, IntelliSense, etc.


Viewing all articles
Browse latest Browse all 4410

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>