//@formatter:off
switch(no) {
case 1: one++; break;
case 2: two++; break;
case 3: three++; break;
case 4: four++; break;
}
//@formatter:on
当我删除格式化程序并点击 Source Code Reformat 键时,我得到了这个:
switch(no) {
case 1:
one++;
break;
case 2:
two++;
break;
case 3:
three++;
break;
case 4:
four++;
break;
}
我尝试深入到偏好部分来改变如何改变它,但找不到任何东西。有没有办法让我设置代码样式设置,以便它接受小型开关盒?