Reputation: 9169
For some reason I do not remember this as being default but trying to figure out how to make Intellij only insert 1 blank line instead of 2 blank lines after opening brace.
This is what my current default setup is doing:
```
myMethod(arg) {
}
```
But this seems more logical and what I want:
```
myMethod(arg) {
}
```
Upvotes: 1
Views: 1435
Reputation: 9169
Disabling Gauge plugin as recommended in this post did the trick: Intellij adding extra line in new blocks.
Upvotes: 1
Reputation: 95968
Go to:
Editor → Code Style → Java → Blank Lines
Choose how many spaces you want around methods, classes, etc...
Upvotes: 2