Closed
Description
System Details
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]
[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]
[email protected]
### PSES version:
### PowerShell version:
Name Value
---- -----
PSVersion 7.1.3
PSEdition Core
GitCommitId 7.1.3
OS Microsoft Windows 10.0.19043
Platform Win32NT
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
WSManStackVersion 3.0
I had to run this from pwsh. PSIC just hangs when I try to run this command. But PSES is:
=====> PowerShell Preview Integrated Console v2021.5.0 <=====
Issue Description
Double-clicking a variable has changed to now selecting the $
prefix. This is a problem when pasting over the variable when used in splatting e.g. @iwrArgs
becomes @$iwrArgs
. Ditto with string interpolation "${smtpServer}"
becomes "${$smtpServer}"
after pasting. This is highly undesirable IMO.
Expected Behaviour
Double-click select of a variable should not include the $
in the selection.
Actual Behaviour
Double-click select of a variable does include the $
in the selection.