Skip to content

code formatter ads space before decorators on constructor/methods #39554

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

Closed
x1c0 opened this issue Dec 4, 2017 · 1 comment
Closed

code formatter ads space before decorators on constructor/methods #39554

x1c0 opened this issue Dec 4, 2017 · 1 comment
Assignees
Labels
formatting Source formatter issues javascript JavaScript support issues upstream Issue identified as 'upstream' component related (exists outside of VS Code)

Comments

@x1c0
Copy link

x1c0 commented Dec 4, 2017

  • VSCode Version: 1.18.1
  • OS Version: macOS 10.13.1

Hello, this is a very silly question, I searched and could not find a similar issue.

Steps to Reproduce:

image

Format the file

image

This space this added before the decorator, and that does not happen with a normal argument.

There is any setting to disable this? Thank you

@mjbvz
Copy link
Collaborator

mjbvz commented Dec 4, 2017

Thanks! Opened microsoft/TypeScript#20449 to track this upstream

@mjbvz mjbvz closed this as completed Dec 4, 2017
@mjbvz mjbvz added formatting Source formatter issues javascript JavaScript support issues upstream Issue identified as 'upstream' component related (exists outside of VS Code) and removed editor editor-core Editor basic functionality labels Dec 4, 2017
@vscodebot vscodebot bot locked and limited conversation to collaborators Jan 18, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
formatting Source formatter issues javascript JavaScript support issues upstream Issue identified as 'upstream' component related (exists outside of VS Code)
Projects
None yet
Development

No branches or pull requests

2 participants