2

Is it possible to remove unnecessary blank line on code formatting in Android Studio?

Stephen Kennedy
  • 20,585
  • 22
  • 95
  • 108
ehku
  • 99
  • 2
  • 9

1 Answers1

3

Yes. It is possible to configure the number of blank lines in the settings menu : File -> Other Settings -> Default Settings... -> Code Style -> Java(or whatever your language is) -> Blank Lines Image 1 Image 2

Harshal Bhavsar
  • 1,598
  • 15
  • 35