Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
mjbvz opened this issue Mar 6, 2017 · 1 comment
Closed

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

mjbvz opened this issue Mar 6, 2017 · 1 comment
Labels
Duplicate An existing issue was already created VS Code Tracked There is a VS Code equivalent to this issue

Comments

@mjbvz
Copy link
Contributor

mjbvz commented Mar 6, 2017

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

@mjbvz mjbvz self-assigned this Mar 6, 2017
@mjbvz mjbvz removed their assignment Mar 6, 2017
@mjbvz mjbvz added the VS Code Tracked There is a VS Code equivalent to this issue label Mar 6, 2017
@mhegazy
Copy link
Contributor

mhegazy commented Aug 29, 2017

The issue here is the :: bind syntax. it is not supported at the moment. and the proposal in TC39 has stalled. see #3508 for more details.

@mhegazy mhegazy closed this as completed Aug 29, 2017
@mhegazy mhegazy added the Duplicate An existing issue was already created label Aug 29, 2017
@microsoft microsoft locked and limited conversation to collaborators Jun 19, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Duplicate An existing issue was already created VS Code Tracked There is a VS Code equivalent to this issue
Projects
None yet
Development

No branches or pull requests

2 participants