1、首先,打开一个DataGrip的界面中

2、点击左上角中 file 菜单

3、点击了file菜单之后,弹出了下拉菜单选择为 settings 选项

4、进入到了settings界面中,点击左侧中的 smart keys 选项

5、进入到了 smart keys 界面中,去掉 smart indent 选项勾选

6、去掉 smart indent 选项勾选之后,点击 ok

1、点击左上角中 file 菜单
选择为 settings 选项
点击左侧中的 smart keys 选项
去掉 smart indent 选项勾选