-
-
Notifications
You must be signed in to change notification settings - Fork 100
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
Ignore generated files by default #140
Comments
Yes, but I don't think there is any guarantee of what is or is not generated. There are countless ways to generate code (Visual Studio, T4, unit tests, etc). This could be a good use of a config option or file to denote glob patterns that indicate files to ignore. Maybe use the ubiquitous ".gitignore" glob style, ".csharpierignore". |
.csharpierignore has been proposed and is mentioned in #43 |
We can also add an option to read a .gitignore
…On Sun, Apr 25, 2021, 08:17 Bela VanderVoort ***@***.***> wrote:
.csharpierignore has been proposed and is mentioned in #43
<#43>
It still may be nice to ignore things by default. Some projects create
generated files behind the scenes. Forcing everyone to add those types of
files to an ignore list seems like a headache if we can just default it.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#140 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAGRDLLDC2ZJUKLQFK4TI6TTKQW7ZANCNFSM43QJD4NA>
.
|
Should Csharpier by default ignore files that are named *.generated.cs? Is that a common naming convention?
What about files that include the auto-generated tag? That includes .cshtml.cs files and possibly others.
//------------------------------------------------------------------------------
//
// This code was generated by a tool.
// Runtime Version:4.0.30319.42000
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
//
//------------------------------------------------------------------------------
The text was updated successfully, but these errors were encountered: