how to disable new line in creating a foreach loop?

Answered

what I want:

for( : ) {
   
}

what idea created:

for( :
) {
   
}

and I don't want this new line after ":" but i have no idea how to config it.

0
1 comment

At Preferences | Editor | Code Style | Java  - 'for()' statement turn off Place ')' on new line.

1

Please sign in to leave a comment.