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
Forum rules
Do not post any licensing information in this forum.
Do not post any licensing information in this forum.
Better support for $() in PowerShell Studio
I will add it to the wish list. David
David
SAPIEN Technologies, Inc.
SAPIEN Technologies, Inc.