Auto-align “=” in assignments
How do one convert a block of variable assignments, e.g.: private final String s1 = "10011"; private final String s2 = "01100"; private final String ones = "11111"; private final String zeros = "00000"; To a straightened format where all = signs are aligned to one space after the longest left-hand side, e.g.: private final String s1 = "10011"; private final String s2 = "01100"; private final String ones = "11111"; private final String zeros = "00000"; Preferences → Java → Code Style → Formatter → goto Edit and check the Align fields in columns : Tibi If you want to be able to align assignments