Closed WrongBit closed 2 years ago
I reuse the same C# syntax highlighter as the ASP.NET Razor editor. Feel free file any specific highlighting bugs on dotnet/csharp-tmLanguage.
Be sure to read my blog post to understand why this project even exists.
While T4 tags have proper highlight, C# code inside is highlighted w custom made syntax, which is not even close to C# standard. Not sure is it possible, but you need to say VS "please work on these code islands as they are C# code". Or convert code on the fly and parse thru Roslyn. In any case highlight of keywords is not what we expect from modern code writing - at least full C# support + intellisense is expected. Check "Roslyn" and "Language Service" topic, maybe it helps.