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
There is a separate feature (ConfigDocument) that attempts to round trip formatting. Config doesn't know the original formatting so it wouldn't have a way to know to keep triple quotes.
I suggest rendering triple quotes if the string contains at least one quote. This behavior could be always enabled or by some sort of render option, so for the whole file. The original formatting of the specific node doesn't need to be known.
On parse hocon supports tripple quotes for multi-line strings :
myitem = """line1
line2"""
However when this is rendered it becomes :
myitem = "line1\nline2"
It would be great if the render can ( perhaps optionally ) use tripple quoting as well.
The text was updated successfully, but these errors were encountered: