我正在用很长的字符串进行测试.所以我需要拆分这样的大字符串:
privat static final String TOO_LONG_JSON = "{field1:field1,field2:field2 ... fieldN:fieldN}";
会变成:
private static final String TOO_LONG_JSON = "{field1:field1,field2:field2" + "{field3:field3,field4:field4,field6:field6,field7:field7}" + "{field8:field8,field9:field9,field10:field10,field11:field11}" + " ... fieldN:fieldN}";
是否可以设置intellij想法来自动分割大字符串?