Page 1 of 1

Better support for $() in PowerShell Studio

Posted: Fri Aug 24, 2012 10:55 am
by jasnic02
Consider the following snippet: $ScriptDirectory = $( if ($HostInvocation -ne $null) { Split-Path $HostInvocation.MyCommand.Path } else { Split-Path $script:MyInvocation.MyCommand.Path }) Smart indent hates this as it doesn't treat the '$(' like an open brace is treated. And, auto-complete doesn't recognize '$(' as valid either. Can support for this be added?
jasnic022012-08-24 18:03:28

Better support for $() in PowerShell Studio

Posted: Fri Aug 24, 2012 11:19 am
by davidc
I will add it to the wish list. David