Skip to content

Broken formatting for jsx in case :: function binding #14491

Closed
@mjbvz

Description

@mjbvz

From @clicman on March 5, 2017 18:46

  • VSCode Version:1.10.1
  • OS Version: Ubuntu 16.04

Steps to Reproduce:

1.Open BadFormatting.js as jsx or babel.
2. Format file (Ctrl+Shift+I).

As result formatting is brken:
image

If I remove :: function binding all become ok.
image

Copied from original issue: microsoft/vscode#22023

Metadata

Metadata

Assignees

No one assigned

    Labels

    DuplicateAn existing issue was already createdVS Code TrackedThere is a VS Code equivalent to this issue

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions