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
Thanks for working on the new experimental formatter. I've just tried it on a few documents and compared them to the old formatting. I see a lot differences because the setting xml.format.preservedNewlines seems to be ignored in some cases.
With the setting "xml.format.preservedNewlines": 2 when formatting following document
Thanks so much @kapexx for having reported this issue. It should be fixed now. Don't hesitate to report other issues with experimental formatter. Our goal is to swith the old formatter with the experimental once we will be cover all usecases that old formatter is supporting.
Thanks for working on the new experimental formatter. I've just tried it on a few documents and compared them to the old formatting. I see a lot differences because the setting
xml.format.preservedNewlines
seems to be ignored in some cases.With the setting
"xml.format.preservedNewlines": 2
when formatting following documentI would expected this result:
The actual result is:
The three empty lines after
<bar>3</bar>
collapse into two empty lines as expected. But it looks like all single empty line are removed.The text was updated successfully, but these errors were encountered: