Files
openide/java/java-tests/testData/codeInsight/completion/normal/SwitchExpressionStart_after.java
Tagir Valeev 6ea7ea44c2 Code completion updates for enhanced switches (IDEA-202340)
- Support inside switch expression
- Support rule-based labels
- Support break inside expression
- Suggest 'switch' keyword in expressions
- Insert ':' or '->' depending on the switch type
2018-12-08 16:30:42 +07:00

5 lines
88 B
Java

public class ConstConfig {
int test(int x) {
return switch (<caret>)
}
}