pawelgrzybek / snippet-generator

Snippet generator for Visual Studio Code, Sublime Text and Atom
https://snippet-generator.app/
1.74k stars 203 forks source link

Feature request: Powershell VSCode snippets. #69

Open futuremotiondev opened 2 years ago

futuremotiondev commented 2 years ago

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.

Cyber5imon commented 9 months ago

I second this, love the app, just can't use it until this is supported as I'm working predominantly in powershell.

gaiking-uk commented 8 months ago

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