Intellij一直这样格式化我的字符串,这很烦人...
我该怎么做才能让所有的线都对齐呢?
PreparedStatement p = s.prepare(
"select distinct resource, uid, role " +
"from role " +
"where person_uuid=? " +
"order by role, resource, uid");
即:
PreparedStatement p = s.prepare(
"select distinct resource, uid, role " +
"from role " +
"where person_uuid=? " +
"order by role, resource, uid");
1条答案
按热度按时间guicsvcw1#
您可以在项目设置->代码样式-> Java -> Wrapping and Braces中调整格式。您正在寻找的选项应该是“方法调用参数”或“二进制表达式”