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
2.1m questions
2.1m answers
60 comments
57.0k users