Page 1 of 1

PSS lose text highlights follow switch

Posted: Mon Sep 21, 2020 5:16 pm
by owinsloe
Product: PowerShell Studio 2020 (64 Bit)
Build: v5.7.181
OS: Windows 10 Pro (64 Bit)
Build: v10.0.19041.0

Following a "switch -regex -file statement", text highlighting disappears until a specific command (eg. IF block ) is used. This does not appear to occur on a basic switch block (ie. not using -regex switch).

In the below expression, the remove-item is not blue.

switch -regex -file $DCMaster
{
""{ }
}
remove-item c:\blah.txt

Re: PSS lose text highlights follow switch

Posted: Tue Sep 22, 2020 12:55 pm
by brittneyr
This issue has been reported to the development team and should be fixed in a future service build of PowerShell Studio.

Re: PSS lose text highlights follow switch

Posted: Fri Oct 23, 2020 8:34 am
by brittneyr
Please try service build 5.7.182.