Skip to content

Preserve comments in config.yml #1272

@samuelallan72

Description

@samuelallan72

Is your feature request related to a problem? Please describe.

In testing with Tutor devstacks, I often find myself wanting to temporarily remove an option or add an inline comment to explain something. However, I can't do this, because as soon as Tutor runs, all comments are stripped from the file.

Describe the solution you'd like

It would be great if comments (and bonus: existing order of options) were preserved when Tutor loads and re-saves the config.yml file.

Describe alternatives you've considered

My current workaround is to keep more notes separately, but it's not always ideal, and time is lost copy/pasting things between the config.yml and my notes.

Additional context

N/A

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    Blocked

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions