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

[unstable option] disable_all_formatting #3388

Closed
scampi opened this issue Feb 13, 2019 · 4 comments · Fixed by #4147
Closed

[unstable option] disable_all_formatting #3388

scampi opened this issue Feb 13, 2019 · 4 comments · Fixed by #4147
Labels
unstable option tracking issue of an unstable option
Milestone

Comments

@scampi
Copy link
Contributor

scampi commented Feb 13, 2019

Tracking issue for disable_all_formatting

@scampi scampi added the unstable option tracking issue of an unstable option label Feb 13, 2019
@VeaaC
Copy link

VeaaC commented Mar 5, 2019

Very useful option for testing code generators: You want to store test cases in the repository (generated rust files), but prevent rustfmt to format them.

@scampi
Copy link
Contributor Author

scampi commented Mar 12, 2019

Ii doesn't sound like disable_all_formatting is the right option for what you described: what about the ignore option ?

@VeaaC
Copy link

VeaaC commented Mar 13, 2019

Yes, you are correct, ignore looks like it will solve this case nicely.

Wouldn't ignoring . be the same as disable_all_formatting?

@scampi
Copy link
Contributor Author

scampi commented Mar 13, 2019

gave it a try and it looks like it

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

Successfully merging a pull request may close this issue.

3 participants