-
Notifications
You must be signed in to change notification settings - Fork 454
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
JavaScript: preserve objects #422
Comments
The default beautifier for So I would recommend that you forward this question over to the team at https://github.com/beautify-web/js-beautify Please include a link reference back to this issue such that other users who may have the same question can follow the reference to your new issue over at js-beautify. Thanks! |
Ah, OK. I didn't realize that this is just a wrapper for separate modules. I'll put this issue to that repository, thanks for the tip! |
It seems that this kind of feature has already been requested a long time ago: beautifier/js-beautify#315 |
Does this option still exist? https://github.com/Glavin001/atom-beautify/blob/master/docs/options.md#language-config---javascript---default-beautifier I do not see where I can change the beautifier type. |
This option is now appearing to js-beautify: beautifier/js-beautify#853 |
It would be a very handful option to preserve the original formatting of objects.
Examples:
These would not be splitted to multiple lines. There are many cases where I'd like to prefer this kind of formatting, especially when passing tiny objects as function parameters etc.
The text was updated successfully, but these errors were encountered: