How can I align variable declarations?
Answered

I can't keep the alignment when reformatting. Aren't there any related options?
Please sign in to leave a comment.
Hi, have you tried Editor | Code style | Group Declarations | Align Variables in columns?
Thanks. It works well now.
I'm sorry but it is still impossible to align when assigning values to instance variables.(it only works when declaring them) How to align this?
It's a known problem, should be fixed in a next major release: https://youtrack.jetbrains.com/issue/IDEA-146487