JaspiDiceYT
JaspiDiceYT

Reputation: 29

How to disable compact braces in IntelliJ idea?

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

Public void main()
{

}

Instead of:

Public void main() {

}

Upvotes: 0

Views: 197

Answers (1)

tgdavies
tgdavies

Reputation: 11411

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".

Upvotes: 3

Related Questions