IDEA-242810 Add colon to completion after "case" keyword

GitOrigin-RevId: 3b908b2eed06b41e08ef1c739d90a299389db8c9
This commit is contained in:
Peter Gromov
2020-06-09 17:17:28 +03:00
committed by intellij-monorepo-bot
parent f4618a1246
commit 824259dfc0
5 changed files with 22 additions and 8 deletions
@@ -0,0 +1,8 @@
class Main {
public static final String STRING_CONSTANT = "abc";
public static void main(String[] args) {
switch (args[0]) {
case STRC<caret>
}
}
}
@@ -0,0 +1,8 @@
class Main {
public static final String STRING_CONSTANT = "abc";
public static void main(String[] args) {
switch (args[0]) {
case STRING_CONSTANT:<caret>
}
}
}
@@ -1,7 +1,7 @@
public class Demo {
void foo(Integer i){
switch(i) {
case Types.CHAR<caret>
case Types.CHAR:<caret>
}
}
}