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

Is there a way to prevent "Beautify Entire File On Save" for large files? #552

Closed
PaulCapestany opened this issue Sep 17, 2015 · 3 comments
Assignees

Comments

@PaulCapestany
Copy link

I've noticed that for certain large files, Beautifying them will either take incredibly long, or may actually crash Atom.

Is there a way to selectively prevent "Beautify Entire File On Save" for large files?

@Glavin001
Copy link
Owner

Not yet.

I would be open to reviewing a Pull Request for such a feature.

Applicable code:

You could add a check for onSave and text.length against some configuration option.

@stale
Copy link

stale bot commented Nov 4, 2017

This issue has been automatically marked as stale because it has not had recent activity. If this is still an issue, please add a comment. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Nov 4, 2017
@stale stale bot removed the stale label Nov 6, 2017
@stale
Copy link

stale bot commented Jan 5, 2018

This issue has been automatically marked as stale because it has not had recent activity. If this is still an issue, please add a comment. It will be closed if no further activity occurs. Thank you for your contributions.

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

No branches or pull requests

2 participants