strictyaml icon indicating copy to clipboard operation
strictyaml copied to clipboard

accessing/editing comments?

Open classabbyamp opened this issue 4 years ago • 2 comments

How can I access and edit comments in a YAML() object?

classabbyamp avatar Jul 13 '21 01:07 classabbyamp

I'm afraid it's not currently possible. It's on the roadmap.

On Tue, 13 Jul 2021, 03:56 classabbyamp, @.***> wrote:

How can I access and edit comments in a YAML() object?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/crdoconnor/strictyaml/issues/153, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABOJKNNS5K46WXRPRZ4QLITTXOMMPANCNFSM5AH7FHQQ .

crdoconnor avatar Jul 13 '21 07:07 crdoconnor

As I mentioned in my comment on issue #95, ruamel.yaml now has much better support for comment manipulation. Hopefully it is now possible to expose this functionality on YAML objects.

nickovs avatar Feb 01 '22 01:02 nickovs