Preferences → Java → Code Style → Formatter → Edit 'Active Profile' → White Spaces → Expressions → Operators (and the others)
Tick all desired boxes for white spaces, then Apply.
To inoke the formatter in the code editor, press CTRL + SHIFT + F (default).
You may also set the formatter to be invoked automatically on a Save Action, by going to Preferences → Java → Editor → Save Actions → And tick Format Source Code, along with other desired configurations of course.