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

Add option to allow formatting auto generated files. #1055

Closed
belav opened this issue Dec 1, 2023 · 0 comments · Fixed by #1104
Closed

Add option to allow formatting auto generated files. #1055

belav opened this issue Dec 1, 2023 · 0 comments · Fixed by #1104
Labels
area:cli type:enhancement New feature or request
Milestone

Comments

@belav
Copy link
Owner

belav commented Dec 1, 2023

There are cases where code is auto generated outside of c# and a user will want to run csharpier to format them.

Adding a CLI option --include-generated to bypass the check for if a file is auto-generated will allow them to format those files.

Some notes

  1. Are there generated files in the obj folder that would get accidentally included by adding this option?
  2. If a user asks csharpier to format a single file, should that assume they want to format the file even if it is generated?
@belav belav added type:enhancement New feature or request area:cli labels Dec 1, 2023
@belav belav added this to the 0.26.4 milestone Dec 1, 2023
@belav belav modified the milestones: 0.26.4, 0.26.5, 0.26.7 Dec 10, 2023
@belav belav modified the milestones: 0.26.7, 0.27.0 Dec 26, 2023
shocklateboy92 added a commit that referenced this issue Jan 9, 2024
…d. (#1104)

closes #1055

Co-authored-by: Lasath Fernando <devel@lasath.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:cli type:enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant