IDE Keep Reformatting XML
Answered
While working on XML files, IntelliJ keeps reformatting and I have no idea what setting I have to disable to preventing from doing so.
Example:
What I want:
<metadata>
<item><value></value></item>
<item><value></value></item>
<item><value></value></item>
</metadata>
What IntelliJ does:
<metadata>
<item>
<value></value>
</item>
<item>
<value></value>
</item>
<item>
<value></value>
</item>
</metadata>
IntelliJ IDEA 2018.2.3 (Ultimate Edition)
Build #IU-182.4323.46, built on September 3, 2018
Windows 10 10.0
Please sign in to leave a comment.
As I've just replied you in the support ticket, the issue is caused by the https://plugins.jetbrains.com/plugin/7642-save-actions plug-in. Either disable it or adjust the plug-in settings to not reformat the code on save.