How to tell Eclipse java Formatter (Ctrl + shift + F) to stop removing spaces

I want the formatter not to remove spaces in the ad fields

This is what the formatter does when I press ctrl + shift + f enter image description here

and so I want it to be (alignment of values ​​should be preserved):

enter image description here

I just can't find where to change it in Formatter settings

+4
source share
1 answer

In eclipse 3.7, it works this way (Preferences> Java> Code Style> Formatter):

enter image description here

+4
source

Source: https://habr.com/ru/post/1387335/


All Articles