Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Auto code formatting in IntelliJ for Android xml files

I just switched from Eclipse to IntelliJ and noticed that when I use "Reformat code" feature it doesn't work like it is in Eclipse, i.e. it uses different number of spaces in my xml files. Is there a way to configure it?

like image 452
Eugene Avatar asked Mar 25 '26 04:03

Eugene


1 Answers

Yes, you can change it in the XML code style settings:

enter image description here

like image 69
CrazyCoder Avatar answered Mar 28 '26 00:03

CrazyCoder



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!