Java – Android studio – change the default code style
•
Java
I'm used to writing code in this way:
private String blabla() { return "bla"; }
However, Android studio has adjusted this Code:
private String blabla() { return "bla"; }
Question: how do I change this option?
Solution
Go to the settings – > code style – > java – > wrap and braces tab, and then you can adjust the position of braces
The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
二维码