Jetbrains tools - specifically, PyCharm & Intellij IDEA - support this (gutter alignment) via the "Joe Celko" code style. With that enabled, you can autoformat you SQL to follow that convention.
Oddly, DataGrip doesn't provide this option.
Oddly, DataGrip doesn't provide this option.