开发者

Eclipse AndroidManifest.xml format

开发者 https://www.devze.com 2023-03-12 15:08 出处:网络
When I format the xml using Ctrl+Shift+F the result is being like that: But It would be nice if something can make xml like that:开发者_运维知识库

When I format the xml using Ctrl+Shift+F the result is being like that:

Eclipse AndroidManifest.xml format

But It would be nice if something can make xml like that:开发者_运维知识库

Eclipse AndroidManifest.xml format

Is there any way to format the formatting on eclipse?


For XML you should go Window->Preferences->HTML Tidy-> XML and select "Input XML"

Eclipse AndroidManifest.xml format

If you like to see every attribute in separate line like me, you should check Wrap attribute values and Indent attributes checkboxes

Eclipse AndroidManifest.xml format


You don't need that plug-in! To have all the attributes on their own lines, go to: Window→Preferences→XML→XML Files→Editor and check Split multiple attributes each on a new line.

Then Ctrl+Shift+F to auto-format.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号