Open futuremotiondev opened 2 years ago
I second this, love the app, just can't use it until this is supported as I'm working predominantly in powershell.
Same here!
While I code across multiple languages, PowerShell is the main one I use and creating snippets in VSCode is a nightmare!... Was so happy when I came across https://snippet-generator.app, but I did notice that it the snippet code generated did not insert variables correctly and I had to go and manually fix these afterwards.
PS: Just to add though, according to this stackoverflow.com answer
$
in $variable
should be escaped as \\$variable
\\$
makes it a literal character and so does not interfere with the tab stops in the snippet
The current snippet creator doesn't double up on $ chars to ensure that the variable is inserted properly.
$$Value
will render to$Value
in Powershell snippets. Any chance of this being added? :)Love the app. Thanks.