Search code examples
intellij-idea

Allman-Style in Intelliji


I was wondering how I might configure Intelliji IDEA to automatically make my code look like:

public void Something()
{
// something
}

rather than:

public void Something() {
// something
}

I believe it is called the "Allman" style. Intelliji comes out of box using the "K&R" (I think?) style, however.


Solution

  • go to project settings. configure code style formatting.