Created
January 12, 2018 13:14
-
-
Save ThePSAdmin/1a01c72c7ee397d90d8563fdaafe8add to your computer and use it in GitHub Desktop.
VSCode snippets for powershell
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"Write Verbose": { | |
"prefix": "wv", | |
"body": [ | |
"Write-Verbose \"[${TM_FILENAME/(.*)\\..+$/$1/}] $0\"" | |
], | |
"description": "Write-Verbose with base name of filename." | |
}, | |
"Write Debug": { | |
"prefix": "wd", | |
"body": [ | |
"Write-Debug \"[${TM_FILENAME/(.*)\\..+$/$1/}] $0\"" | |
], | |
"description": "Write-Debug with base name of filename." | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment