Is there a possible way to make Android studio format the code automatically without pressing CTRL +ALT+L?
I mean is this option available like the automatic import?
Thank you
There is no way to do that automatically. But you can create a macro that will do it for you.
For example, I changed the short-cut use to save CTRL+S by a macro that format the code then save. It's very usefull when you save a lot.
To do so :
Hope that help.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With