DotJoshJohnson / vscode-xml

XML Tools for Visual Studio Code
MIT License
320 stars 87 forks source link

XML Formatter does not format document #292

Closed weitzhandler closed 4 years ago

weitzhandler commented 4 years ago

Description When working on a large XML file that doesn't contain line breaks, pressing Ctrl+ Shift+I, or launching the formatter from the command bar, does nothing.

The file is all condensed into one line. My expectation was that the formatter would insert line breaks after each node.

Screenshots image

Extension Version 2.5.0

VS Code Version 1.40.1

Operating System Windows 10 x64 - 1909

DotJoshJohnson commented 4 years ago

Can you attach a file that can be used to reproduce? Thanks!

weitzhandler commented 4 years ago

This issue is too old. I could have provided a repro closer to the date I opened it. Hence I'll close it now.