using crazy padding as example input
$x =
Get-ChildItem ~ -Depth 1 | Group-Object Extension |
| Format-Table
$query
| Sort-Object key
| Format-Table -GroupBy 'Name'
if ($true) {
$query
| Sort-Object key
| Format-Table -GroupBy 'Name'
}
$query | Sort-Object function
| Format-Table -GroupBy 'Name'
# using crazy padding as example input
$x =
gci ~ -depth 1 | Group Extension |
| ft
$query
| Sort-Object key
| Format-Table -GroupBy 'Name'
if($true) {
$query
| Sort-Object key
| Format-Table -GroupBy 'Name'
}
$query| Sort-Object function
| Format-Table -GroupBy 'Name'
{
"powershell.codeFormatting.newLineAfterCloseBrace": true,
"powershell.codeFormatting.newLineAfterOpenBrace": true,
"powershell.codeFormatting.openBraceOnSameLine": true,
"powershell.codeFormatting.autoCorrectAliases": false,
"powershell.codeFormatting.pipelineIndentationStyle": "None",
"powershell.codeFormatting.pipelineIndentationStyle": "IncreaseIndentationForFirstPipeline",
"powershell.codeFormatting.whitespaceAfterSeparator": true,
"powershell.codeFormatting.whitespaceAroundOperator": true,
"powershell.codeFormatting.whitespaceBeforeOpenBrace": true,
"powershell.codeFormatting.whitespaceBeforeOpenParen": true,
"powershell.codeFormatting.whitespaceBetweenParameters": true,
"powershell.codeFormatting.whitespaceInsideBrace": true,
"powershell.codeFormatting.avoidSemicolonsAsLineTerminators": true,
"powershell.codeFormatting.useCorrectCasing": true,
"powershell.codeFormatting.addWhitespaceAroundPipe": true,
"powershell.codeFormatting.ignoreOneLineBlock": true,
"powershell.codeFormatting.preset": "Stroustrup"
}