How can I align variable declarations?
已回答

I can't keep the alignment when reformatting. Aren't there any related options?
请先登录再写评论。
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