You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would like to see terraform fmt support pretty-printing collection types. Currently I observe that internal terraform fmt code runs format passes on fixed lines (please see format.go). But I hope it can help me format variables of collection types (list, set, map), for instance
To my understanding, implementing this feature requires replacing the current []formatLine with other data strucutres like linked lists to allow flexible line insertions.
I hope you can put my feature request on your radar! If you don't mind, I'm also willing to implement it if you agree.
Best regards,
Xulei
The text was updated successfully, but these errors were encountered:
Dear all,
I would like to see
terraform fmt
support pretty-printing collection types. Currently I observe that internalterraform fmt
code runs format passes on fixed lines (please see format.go). But I hope it can help me format variables of collection types (list, set, map), for instanceTo my understanding, implementing this feature requires replacing the current
[]formatLine
with other data strucutres like linked lists to allow flexible line insertions.I hope you can put my feature request on your radar! If you don't mind, I'm also willing to implement it if you agree.
Best regards,
Xulei
The text was updated successfully, but these errors were encountered: