Home > OS >  How to disable compact braces in IntelliJ idea?
How to disable compact braces in IntelliJ idea?

Time:01-19

I simply want to change the default auto curly braces from shortening, example of this:

Public void main()
{

}

Instead of:

Public void main() {

}

CodePudding user response:

Open the File, Settings... menu.

In the Settings dialog, choose Editor, Code Style, Java.

Click on the Wrapping and Braces tab.

FInd Braces placement and change "end of line" to "Next line".

  • Related