How to prevent code style formatter from removing extra spaces inside code line?
Answered
Hello!
I use extra/additional spaces to align code, I put them inside code line, it is something like my own style, but style code formatter removes these extra spaces. Anybody knows how to prevent that?
Please sign in to leave a comment.
You need the option "Align fields in columns" under Settings|Editor|Code Style|Wrapping and Braces|Grop declarations.
Liubov, Serge,
Excellent! This option not only disables the removal of extra spaces, but even makes this alignment itself, I mean using Ctrl+Alt+L keyboard shortcut.
Thank you so much!