deepakg202/vscode-save-commands

Can't Escape "{" characters in command

xantrk opened this issue · 2 comments

xantrk commented

I have some docker commands I would like to save and they contain curly braces. But save-commands recognize them as placeholders. Is there a way to "escape" them to prevent this behaviour? Essentially I pass a json dictionary somewhere in the command as '{key:value}'.

Thank you for this awesome extension!

@xantrk Thanks for pointing it out. Will fix this soon.

Added an option in #14 to change the capturing group for the regex used. You can change between different placeholderTypes in settings so that it does not conflict with the json dictionary