Extend language injections to support C# itself?

I am wondering if it could be possible to make an extension to add C# to the list of supported languages for language injection. 

Here's info about injection on R#: https://blog.jetbrains.com/dotnet/2016/12/26/language-injections-in-resharper-ultimate-2016-3/
At the end it says: But for any language natively supported by ReSharper language injections are doable.

I would like to make this into a Resharper extension. Is this doable? Could someone point me in the right direction?

Use case is meta-programming with C# using its attributes. The way I process that input doesn't mind that the end result would be a string. I only need for the user to have all the code completion tools.


Please sign in to leave a comment.