Skip to content

Preserve Indentation of Closing > in Multiline Type List #15782

Closed
@mjbvz

Description

@mjbvz

From: microsoft/vscode#26485

TypeScript Version: 2.3.2

Code

class Favorite extends Array<
    string
> {
    private foo = 2
}

Run format document

Expected behavior:
Formatting is preserved

Actual behavior:
The closing > is indented

class Favorite extends Array<
    string
    > {
    private foo = 2
}

Metadata

Metadata

Assignees

Labels

BugA bug in TypeScriptDomain: FormatterThe issue relates to the built-in formatterFix AvailableA PR has been opened for this issueVS Code PriorityCritical issues that VS Code needs fixed in the current TypeScript milestoneVS Code TrackedThere is a VS Code equivalent to this issue

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions