-
Notifications
You must be signed in to change notification settings - Fork 213
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
Preserving existing comments whilst editing TOML files #207
Comments
There have been some talk about that, but nothing exists at the moment. This would indeed be a nice feature. |
Hi @pelletier Any advance on this feature? It's essential (specially when dealing with configuration files) to preserve the comments since they're fundamental to understand the available parameters. |
Haven't made any progress myself on it – my free time is spreading thin. Pull requests welcomed! |
Closing this issue, as go-toml v2.0.0 has been released, and document manipulation is out of scope for v2. As go-toml v1 will not be receiving any updates, please look into upgrading to the new version. If you believe this is a mistake please reach out! |
Are there any methods or plans to edit the data in an existing TOML file without destroying existing comments?
The text was updated successfully, but these errors were encountered: