- 
                Notifications
    You must be signed in to change notification settings 
- Fork 520
Open
Labels
Area-Code FormattingArea-Script AnalysisIssue-EnhancementA feature request (enhancement).A feature request (enhancement).Pending: ExternalThis issue is not fixed here, it is fixed in a dependent repo such as PowerShell,PSScriptAnalyzerThis issue is not fixed here, it is fixed in a dependent repo such as PowerShell,PSScriptAnalyzer
Description
Prerequisites
- I have written a descriptive issue title.
- I have searched all issues to ensure it has not already been reported.
Summary
The vscode-powershell extension appears to align the equal signs on hashtables, but it doesn't align the equal signs within the Enum statement.
Given the following...
    Enum TestEnum {
        one = 1
        three = 3
        four = 4
        seven = 7
        eleven = 11
    }
    $testHashTable = @{
        one = 1
        three = 3
        four = 4
        seven = 7
        eleven = 11
    }
...it reformats it to this...
    Enum TestEnum {
        one = 1
        three = 3
        four = 4
        seven = 7
        eleven = 11
    }
    $testHashTable = @{
        one    = 1
        three  = 3
        four   = 4
        seven  = 7
        eleven = 11
    }
Proposed Design
If the Enum statement contains equal signs then I would expect that the equal signs would be aligned like this...
    Enum TestEnum {
        one    = 1
        three  = 3
        four   = 4
        seven  = 7
        eleven = 11
    }
Metadata
Metadata
Assignees
Labels
Area-Code FormattingArea-Script AnalysisIssue-EnhancementA feature request (enhancement).A feature request (enhancement).Pending: ExternalThis issue is not fixed here, it is fixed in a dependent repo such as PowerShell,PSScriptAnalyzerThis issue is not fixed here, it is fixed in a dependent repo such as PowerShell,PSScriptAnalyzer