Intellij idea IntelliJ IDEA开关盒在断开时未正确缩进
我必须手动(移动)退格以修复缩进。如何解决这个问题Intellij idea IntelliJ IDEA开关盒在断开时未正确缩进,intellij-idea,Intellij Idea,我必须手动(移动)退格以修复缩进。如何解决这个问题 switch(choice) { case 0: printInstructions(); break; case 1: <--- this should be inline with case 0: when I hit enter after the break; groceryList.printGroceryList(); break;
switch(choice) {
case 0:
printInstructions();
break;
case 1: <--- this should be inline with case 0: when I hit enter after the break;
groceryList.printGroceryList();
break;
}
开关(选项){
案例0:
打印说明();
打破
案例1:这是一个已知的问题:
- 在“开关”中的“中断”后按Enter键应将插入符号置于“案例”缩进级别
但是,一旦您键入案例1:
,它将自动缩进(只要您键入:
)。我确实从包装和大括号中探索了开关缩进,但它不起作用