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

2、点击左上角中的 file 菜单

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

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

5、 进入到了code folding 界面中,去掉 custom folding regions 选项勾选

6、去掉 custom folding regions 选项勾选之后,点击 ok

1、点击左上角中的 file 菜单
选择为 settings 选项
去掉 custom folding regions 选项勾选