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

Wonky formatting inside TSX brackets with )} #5630

Closed
prencher opened this issue Apr 21, 2016 · 2 comments
Closed

Wonky formatting inside TSX brackets with )} #5630

prencher opened this issue Apr 21, 2016 · 2 comments

Comments

@prencher
Copy link

prencher commented Apr 21, 2016

  • VSCode Version: 1.0
  • OS Version: Any

When formatting a TSX document, <span onClick={this.test()}> gets formatted as <span onClick={this.test() }>.

It appears isolated to ), for example <span onClick={this.test}> is unaffected, as is every other case I could think of to test.

I would assume this is supposed to not have spaces, or respect the non-empty bracket setting added in 1.0.

@dbaeumer
Copy link
Member

Agree. Moving to the TS team which provides the formatter.

@dbaeumer
Copy link
Member

This issue was moved to microsoft/TypeScript#8246

@vscodebot vscodebot bot locked and limited conversation to collaborators Nov 18, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants