XML Diff
I guess this is probably a feature request and is more than likely too late for v9, however, I'll propose it anyway
Sometimes I get xml files that are one long string, which makes diff'ing them impossible until you reformat.
Other cases are when the structural order is different but the content is the same.
See the example here for what I am talking about
http://xmlunit.sourceforge.net/
<stuff-doc> |
equals | <stuff-doc> |
Who else thinks XML aware diffs would be an excellent feature for IDEA?
请先登录再写评论。
Actually, those two documents are not the same - order is significant in XML files. But yes, XML-aware diffing would be excellent. It's surprisingly hard to get right, though.
Cheers,
Colin
In case you are using the XML Diff for comparisons in testing, you might are not aware XMLUNIT makes unit testing XML fairly painless.
It does more that a visual comparison can do since with a little wrapper code you can exclude certain elements that dynamically vary such as Date/times/serial numbers...
The ability to push a button and run a JUnit test and not have to compare visually is comforting.
-Rob
It didn't make it in for v9.
Any chance of it slipping in for v10?
http://youtrack.jetbrains.net/issue/IDEA-59051
Hello opticyclic,
No, there's no chance at this point to include it in IntelliJ IDEA 10.
--
Dmitry Jemerov
Development Lead
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"
Its still not here in 13.1 :(
I have to resort to a an old MSDN article that I compiled
https://bitbucket.org/opticyclic/xmldiffpatchgui
It outputs an html file so it isn't very nice to work with.