Better support for $() in PowerShell Studio

Post feature requests, product enhancement ideas, and other product-specific suggestions here. Do not post bug reports.
Forum rules
Do not post any licensing information in this forum.
Locked
User avatar
jasnic02
Posts: 7
Joined: Thu Jul 28, 2011 7:53 am

Better support for $() in PowerShell Studio

Post 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

User avatar
davidc
Posts: 5913
Joined: Thu Aug 18, 2011 4:56 am

Better support for $() in PowerShell Studio

Post by davidc »

I will add it to the wish list. David
David
SAPIEN Technologies, Inc.

Locked