Product: PowerShell Studio 2020 (64 Bit)
Build: v5.7.181
OS: Windows 10 Pro (64 Bit)
Build: v10.0.19041.0
The following where-object will not expand during a paste, due to the space between ? and the left open brace
foreach ($Line in @($Stats.$Type.$ServerPrefix.$Server) | ? { $_ })
however...
foreach ($Line in @($Stats.$Type.$ServerPrefix.$Server) | ?{ $_ })
does expand to
foreach ($Line in @($Stats.$Type.$ServerPrefix.$Server) | Where-Object{ $_ })
Auto expand on paste sensitive to spaces
Forum rules
DO NOT POST LICENSE NUMBERS, ACTIVATION KEYS OR ANY OTHER LICENSING INFORMATION IN THIS FORUM.
Only the original author and our tech personnel can reply to a topic that is created in this forum. If you find a topic that relates to an issue you are having, please create a new topic and reference the other in your post.
Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
DO NOT POST LICENSE NUMBERS, ACTIVATION KEYS OR ANY OTHER LICENSING INFORMATION IN THIS FORUM.
Only the original author and our tech personnel can reply to a topic that is created in this forum. If you find a topic that relates to an issue you are having, please create a new topic and reference the other in your post.
Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
Re: Auto expand on paste sensitive to spaces
We are currently look into this and will get back to you soon.
Brittney
SAPIEN Technologies, Inc.
SAPIEN Technologies, Inc.
Re: Auto expand on paste sensitive to spaces
I've been able to reproduce this and have filed a bug report with the development team. When I have more information, I will update you.
Brittney
SAPIEN Technologies, Inc.
SAPIEN Technologies, Inc.
Re: Auto expand on paste sensitive to spaces
Please try service build 5.7.182 and let me know if this issue has been resolved.
Brittney
SAPIEN Technologies, Inc.
SAPIEN Technologies, Inc.