Skip to content

Add an option to disable "// Generated from ..." content (in C#) #720

@MihaMarkic

Description

@MihaMarkic

I'm seeing in all c# generated classes the comment // Generated from [FULLPATH] near the top of each file.
This is bad from at least two angles:

  • I don't want to show my local directory structure to everybody
  • it causes source control to think that file has been modified even if it has been only generated on a different computer (other content is the same)

And I'm not seeing an option to disable this auto generated part of comment (or is there?).
Hence, please avoid generating that line all together or add an option for disabling it.

Of course, assuming this comment comes from the tool, not ANTL4 c# generator. But even in the later case I assume there is an option to avoid it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions