nikitakunevich / vscode-snippet-creator

vscode extension for creating snippets
MIT License
44 stars 25 forks source link

Doesn't translate Powershell variable properly ($) #2

Open ghost opened 7 years ago

ghost commented 7 years ago

When creating Powershell snippits it will not repleace single $ with double $. Variables are definded in powershell with a $. VSC Snippets will remove single $. example:

"test": {
        "prefix": "test",
        "body": [
            "$variable = \"TEST\""
        ],
        "description": "test"
    }

should be "$$variable = \"TEST\""

ethan-dowler commented 6 years ago

this could also be resolved by doing a '\' before the $. I went in and manually added the '\' in my code snippet because I found the same problem when trying to create some scss snippets...