String interpolation is great and snippets are great, but they don't play nice together. I have a snippet that looks (in part) like this:
job.Location = $"{e["$locationfield$"]}";
return true;
The locationfield
part is supposed to be the replacement, but of course it will see as '"{e["
being a replacement. So when you try to use the snippet, that part is messed up:
job.Location = locationfield
And the rest of the code following is gone (because it can't match another $
presumably).
Is there a way around that? Or can you just not use string interpolation in your snippets?