How to prevent code style formatter from removing extra spaces inside code line?
已回答
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?
请先登录再写评论。
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!