作者:初学 | 来源:互联网 | 2023-05-18 04:07
ImusingPhpstormandIhavesomeXMLfilethatisasinglelineonlybutcontainsalotof(nested
I'm using Phpstorm and I have some XML file that is a single line only but contains a lot of (nested) elements. Just a common XML file:
我使用了Phpstorm,我有一些XML文件,只有一行,但包含了很多(嵌套的)元素。只是一个普通的XML文件:
4.20
Success...
(gist of the full XML).
(完整XML的要点)。
Having that file opened, I want to re-format it with indenting.
打开该文件后,我想用缩进重新格式化它。
I have tried using Reformat Code... (Ctrl + Alt + L) but it didn't change anything. I also reviewed the XML Code-Style Settings, but I don't see anything standing in the way.
我试过使用Reformat代码……(Ctrl + Alt + L)但没有改变。我还回顾了XML代码样式的设置,但是我没有看到有什么妨碍。
Isn't it possible with Phpstorm for re-format an XML file to indent nested XML elements?
Phpstorm难道不可能将XML文件重新格式化为缩进嵌套的XML元素吗?
Something into the direction like:
朝某个方向的东西,比如:
4.2
0
Success
...
1 个解决方案