Add initial support for raw string literals#58
Conversation
|
Thanks @dkearns. To answer your question, in my opinion no, raw strings shouldn't be highlighted differently to other strings. Despite the new semantics they are just strings at the end of the day, and people have expectations of those basic highlight colours. People who want them coloured differently can always link |
467724f to
ad374a3
Compare
|
@dkearns I would quite like to merge this. How important do you feel your "TODO"s are? As you mentioned, it works well as it is |
efbfeca to
5394fca
Compare
5394fca to
89c78dd
Compare
|
Hi Nick, Three years...sorry. I have lost context but I had a quick look and I think it's fine to merge. At least, it appears to handle all the examples on https://learn.microsoft.com/en-us/dotnet/csharp/language-reference/tokens/raw-string. I'll take a look at my other outstanding PRs soon and see what else has been added to C# while I blinked. |
|
Thanks very much @dkearns! |
This is incomplete but probably does a decent job highlighting correct code.
TODO: