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");
答案 0 :(得分:34)
您可以在“项目设置”中调整格式 - >代码风格 - > Java - >包裹和支撑。您要查找的选项应该是“方法调用参数”或“二进制表达式”