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

Looping on Save #20

Closed
ghost opened this issue Aug 23, 2016 · 2 comments
Closed

Looping on Save #20

ghost opened this issue Aug 23, 2016 · 2 comments

Comments

@ghost
Copy link

ghost commented Aug 23, 2016

After installing JS-CSS-HTML-formatter, when I try to save any JSON file on a mac, it keeps looping and blocks IDE from responding.

Here is the Video Link for the issue: http://www.screencast.com/t/MH4yLw7p

@agkphysics
Copy link

I am having a similar problem on Linux. It occurs with both HTML and JSON and seems to have something to do with the last line of the file being a single newline.

Setting the config option "end_with_newline": true for JS, CSS and HTML seems to solve the problem for me, or you can set "onSave": false in order to only manually format each file.

@dreed47
Copy link

dreed47 commented Sep 18, 2016

same problem for me...on a Mac

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants