This is one of those things that isn't really a big deal but I'm hoping that, for that reason, it's one you guys might be willing to address. Whenever the PowerShell Studio editor's automatic formatting is turned on, it will remove spaces preceding a colon. This can break ternary expressions, particularly if the value preceding the colon is a variable (e.g., it formats as
Code:
$foo = $bar ? $bar : $baz;
Code:
$foo = $bar ? $bar: $baz;
Statistics: Posted by jvanlaan — Sat Mar 23, 2024 8:40 am — Replies 0 — Views 38