hubsta / acf-snippet-vsc

11 stars 9 forks source link

`field:image:object` in VScode doesn't have `$` in variable name #8

Closed brantleyenglish closed 7 years ago

brantleyenglish commented 7 years ago

When we use the field:image:object this is what we get: screenshot of ACF snippet in vscode

It looks like your repo here on Github is correct. Awesome! Are you guys able to update the VScode extension?

michaelmano commented 7 years ago

Thanks for letting us know about the issue @brantleyenglish I'll get onto it now 👍

michaelmano commented 7 years ago

The issue is vscode is escaping all $ used within the snippets, not just the image field. I will have to update all variables to use a double $$ to get around this.