While #78458 added support for syntax highlighting of file-based apps directives, the TextMate grammar for C# was updated in dotnet/csharp-tmLanguage#337 to support highlighting directives but tokenizes that different parts of the directive values to provide a richer colorization experience.
We should improve the Roslyn-based syntax highlighting of file-based apps ignored directives to be as rich as the TextMate grammar:
- For
#:sdk & #:package, the name, @ separator, and version should all be tokenized as separate spans
- For
#:property, the name, = separator, and value should all be tokenized as separate spans
- For
#:project, there is only a value so
While #78458 added support for syntax highlighting of file-based apps directives, the TextMate grammar for C# was updated in dotnet/csharp-tmLanguage#337 to support highlighting directives but tokenizes that different parts of the directive values to provide a richer colorization experience.
We should improve the Roslyn-based syntax highlighting of file-based apps ignored directives to be as rich as the TextMate grammar:
#:sdk&#:package, the name,@separator, and version should all be tokenized as separate spans#:property, the name,=separator, and value should all be tokenized as separate spans#:project, there is only a value so