如何将 DataGrip SQL 格式化程序与复合 WHERE 子句一起使用

How to use DataGrip SQL formatter with compound WHERE clause

我可以设置哪个配置来让 WHERE 语句的每个子句都在新行开始?例如:

-- bad
select *
from table
where a = 1 and b = 2
-- good
select *
from table
where a = 1
  and b = 2

为了得到下一行的每部分AND或OR条件,只需设置如下:

查询/WHERE 和 HAVING 子句/包装元素⟶ Chop