1、首先,需要打开一个 DataGrip 的界面中
3、点击了 file 菜单之后,弹出了下拉菜单选中为 settings 选项
5、进入到了 commit 界面中,勾选上 reformat code 选项