Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Feature Request: Align Equal Sign on Enum Statement #5138

Open
Labels
@leewilmott

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

No one assigned

    Labels

    Type

    Projects

    No projects

    Milestone

    No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

        AltStyle によって変換されたページ (->オリジナル) /