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

File being saved as filename.pretty.html #53

Open
ghost opened this issue Feb 8, 2018 · 1 comment
Open

File being saved as filename.pretty.html #53

ghost opened this issue Feb 8, 2018 · 1 comment

Comments

@ghost
Copy link

ghost commented Feb 8, 2018

Suddenly my files are being saved as a new file after beautifying. Any way to stop this and save to current file instead?

@rareyman
Copy link
Owner

rareyman commented Feb 8, 2018

Hmmmm. That doesn't sound like standard behavior. Are you sure it isn't another plug-in/extension that is causing this…?

This script is designed to not save files, but to just change your file buffer and rely on you saving on your own. There have been discussions about adding an auto save feature, but I haven't implemented that into the core script to avoid possible issues.

Try this: Install a fresh copy of ST (perhaps on another machine or user?) and then HTMLBeautify. If you don't get the same error, then you may need to start troubleshooting your standard install to pinpoint why it is generating a new file each time.

I hope that helps!

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

1 participant