ab11
ab11

Reputation: 20100

Configuring Intellij formatter to wrap after method annotation?

After importing a code style, my code does not wrap after method annotations. Could anyone point me to the settings which will force

@Override public void...

Instead of

@Override public void

enter image description here

Upvotes: 0

Views: 69

Answers (1)

Makoto
Makoto

Reputation: 106498

You're looking for "Method Annotations" towards the bottom of that very list. Select "Wrap always" to ensure that they get their own line. The preview on the right (at the bottom) will show you what that looks like.

Upvotes: 1

Related Questions