You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The try-catch snippet is missing it's '$' for the first tab stop.
Line 609 in /snippets/PowerShell.json should be:
"\t${1:<#Do this if a terminating exception happens#>}",
Instead of:
"\t{1:<#Do this if a terminating exception happens#>}",
PowerShell Version
PS> $PSVersionTableName Value---- -----PSVersion 7.2.2PSEdition CoreGitCommitId 7.2.2OS Microsoft Windows 10.0.19044Platform Win32NTPSCompatibleVersions {1.0, 2.0, 3.0, 4.0…}PSRemotingProtocolVersion 2.3SerializationVersion 1.1.0.1WSManStackVersion 3.0
Prerequisites
Summary
The try-catch snippet is missing it's '$' for the first tab stop.
Line 609 in /snippets/PowerShell.json should be:
"\t${1:<#Do this if a terminating exception happens#>}",
Instead of:
"\t{1:<#Do this if a terminating exception happens#>}",
PowerShell Version
Visual Studio Code Version
Extension Version
Steps to Reproduce
Type 'try-catch' > hit tab > the cursor moves to $0 cursor position
It should move to $1 tab stop but it's missing the '$'
Visuals
No response
Logs
No response
The text was updated successfully, but these errors were encountered: