How to remove unnecessary blank line on code formatting in IntelliJ?

前端 未结 5 965
情深已故
情深已故 2020-12-12 18:56

Is it possible to remove empty/blank lines using code formatting in Intellij IDEA?

5条回答
  •  轻奢々
    轻奢々 (楼主)
    2020-12-12 19:27

    Just in case it helps someone using newer versions of Intellij, in Intellij IDEA 2016.2.4 it is File -> Other Settings -> Default Settings -> Editor -> Code Style -> Java(or Scala or whatever your language is) -> Blank Lines

提交回复
热议问题