Is it possible to remove empty/blank lines using code formatting in Intellij IDEA?
Yes. It is possible to configure the number of blank lines in the settings menu (CTRL+ATL+S): File -> Settings -> Editor -> Code Style -> Java(or Scala or whatever your language is) -> Blank Lines
File -> Settings -> Editor -> Code Style -> Java(or Scala or whatever your language is) -> Blank Lines
1.4m articles
1.4m replys
5 comments
57.0k users