Skip to content

Formater no longer normalizes spaces in method signature #37431

@mjbvz

Description

@mjbvz

From microsoft/vscode#92582

TypeScript Version: 3.9.0-dev.20200316

Search Terms:

Code
Run format on:

class Foo {
    private async         bar() { }
}

Expected behavior:
The spaces between async and bar are normalized

Actual behavior:
Spaces are left intact

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugA bug in TypeScriptDomain: FormatterThe issue relates to the built-in formatterFixedA PR has been merged for this issueHelp WantedYou can do this

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions