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?

0
3 comments

You need the option "Align fields in columns" under Settings|Editor|Code Style|Wrapping and Braces|Grop declarations.

1
Avatar
Permanently deleted user

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! 

0

Please sign in to leave a comment.