Skip to content

Feat: Preserve style and comments in Config object #33

@LucasDedieu

Description

@LucasDedieu

Description

Currently, the confit library does not preserve comments, formatting, or other stylistic elements when reading, modifying, and rewriting configuration files. This results in a loss of valuable metadata and readability in the saved files.

An ideal solution would be to store style-related information (e.g., comments, indentation, etc.) within the confit.Config object. This would allow the library to reconstruct the original document with only the modified values, preserving the original structure and style.

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