-
Notifications
You must be signed in to change notification settings - Fork 520
Closed
Labels
Area-SnippetsIssue-BugA bug to squash.A bug to squash.Resolution-FixedWill close automatically.Will close automatically.Up for GrabsWill shepherd PRs.Will shepherd PRs.
Milestone
Description
System Details Output
### VSCode version: 1.56.2 054a9295330880ed74ceaedda236253b4f39a335 x64
### VSCode extensions:
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
### PSES version: 2.4.2.0
### PowerShell version:
Name Value
---- -----
PSVersion 5.1.19041.1023
PSEdition Desktop
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0...}
BuildVersion 10.0.19041.1023
CLRVersion 4.0.30319.42000
WSManStackVersion 3.0
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
Issue Description
The Snippet behaviour still matches the old separators. It doesn't select the $ to be replaced when inserting a snippet.
Expected Behaviour
I would expect it to match the behaviour of the word separators by default for PowerShell files.
Actual Behaviour
When inserting a snippet, it should not only select the word in the variables, but the entire variable, including '$' as that follows the new standard.
Metadata
Metadata
Assignees
Labels
Area-SnippetsIssue-BugA bug to squash.A bug to squash.Resolution-FixedWill close automatically.Will close automatically.Up for GrabsWill shepherd PRs.Will shepherd PRs.