1.快捷键 Ctrl+Alt+L进行Reformat Code,xml文件的节点,会按26个字母顺序重新排列
解决:Ctrl+Shift+Alt+L,Ctrl+Shift+Alt+L,Ctrl+Shift+Alt+L(注意不是ctrl + alt + l),弹出的选项中去掉Rerange code
1.快捷键 Ctrl+Alt+L进行Reformat Code,xml文件的节点,会按26个字母顺序重新排列
解决:Ctrl+Shift+Alt+L,Ctrl+Shift+Alt+L,Ctrl+Shift+Alt+L(注意不是ctrl + alt + l),弹出的选项中去掉Rerange code