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

Beautify on Save not working for JavaScript #782

Closed
nerdpad opened this issue Feb 4, 2016 · 1 comment
Closed

Beautify on Save not working for JavaScript #782

nerdpad opened this issue Feb 4, 2016 · 1 comment
Labels

Comments

@nerdpad
Copy link

nerdpad commented Feb 4, 2016

I am using version 0.28.21, and beautify on Save doesn't work. The "Beautify Entire File On Save" is ON.

Example I add about 20 blank lines in a .js file, and save. The blank lines are supposed to be removed.

If I execute Atom Beautify from the command pallet, it works as expected.

@Glavin001
Copy link
Owner

Beautify Entire File On Save actually is not "Beautify On Save". It means that if you are beautifying on save, it will beautify the entire file, versus only the selected text.

Actually enabling beautify on save is language specific.

For JavaScript, see https://github.com/Glavin001/atom-beautify/blob/master/docs/options.md#language-config---javascript---beautify-on-save for beautify on save option.

@Glavin001 Glavin001 changed the title Beautify on Save not working Beautify on Save not working for JavaScript Feb 4, 2016
@nerdpad nerdpad closed this as completed Feb 4, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants