In Visual Studio, Ctrl + K + D means automatically aligning (if I may say so) the indents in the code.
For example, it was:
class Logger { private void a(){ int x = 10;} } After Ctrl + K + D:
class Logger { private void a() { int x = 10; } } Those. we get "beautiful formatting". Is there an equivalent in IDEA?