Open r-call opened 8 years ago
Same issue. IndentX hangs on a 630,000+ character file.
Same issue here as well. I only got valid XML with no javascript but its about 2.7 million characters in total.
As of today, v0.9.0 still has this problem.
It’s better to reformulate this way: this plugin is significantly slower than its basic functionality: the Indent Xml plugin. Presumably because it assumes that XML is invalid. It is most likely better to divide it into independent mechanisms:
Tried to indent a file that would end up being 51,000 lines after indenting and Sublime hung. Tried multiple times without success. Worked in under 1 second in Notepad++ but I much prefer to use Sublime for an editor.
EDIT: It is possible that embedded JavaScript in the XML is causing the problem.