I’m using the latest beta.
Take this snippet:
$sw = new-object diagnostics.stopwatch
$sw.start()
$testCases = orderVariablesByScriptLine (get-variable -name "*TestCase" `
-scope 1 `
-erroraction silentlycontinue)
If I wanted to add a new parameter, the current logic works great. The problem arises when I need to place the cursor at a lower indentation level. If I press tab on the next blank line, the cursor will always be aligned with “-erroraction”.
You can work around this by typing a space first and then pressing tab (translateTabsToSpaces on), but I thought I’d mention this.
The problem seems to be that the magic tag tracking the indentation level isn’t removed when I’ve deleted the suggested indentantion the first time.