The dollar sign will not be inserted
Matthias1372 opened this issue · 2 comments
I'm using the snippets manager with powershell. Some little example code:
`# Define some variable
$variable = 'Something'
if ($variable -eq 'something') {
Write-Host $variable
}`
I have selected the code and added it to the snippets using the context menu "Create Snippet" and "Create Snippet (Without Excape)". At this point everything seems ok, the $ sign will be shown, see screenshot.
When I'm adding the code snippet, the $ sign is missing, see also screenshots.
It would be great, if this issue could be fixed. I'm looking forward to it!
Otherwise, the Snippet Manager is a great tool, thank you for your work!
It seems you can use "Create Snippet". The "Create Snippet" can auto escape the $
and create a snippet that output is just like what you selected.
2023-12-04.22-10-39-1701699805713.mp4
With "Create Snippet (Without Escape)" we can do some amazing things, like:
2023-12-04.22-11-32-1701699845141.mp4
Different:
Closing this issue due to inactivity. Please feel free to reopen this issue if you are still running into issues and we would be happy to help troubleshoot further.