mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-04-19 04:51:24 +07:00
[java-completion] IDEA-302003 Complete statement keywords after switch rule arrow
GitOrigin-RevId: 2a9f1b3deb68145bbe4fbfa42e45432e6281a41d
This commit is contained in:
committed by
intellij-monorepo-bot
parent
547ba1f6fe
commit
269d17c850
@@ -0,0 +1,8 @@
|
||||
|
||||
class Main {
|
||||
void test(int x) {
|
||||
switch(x) {
|
||||
case 1 -> if<caret>
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
|
||||
class Main {
|
||||
void test(int x) {
|
||||
switch(x) {
|
||||
case 1 -> {
|
||||
if (<caret>)
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
|
||||
class Main {
|
||||
void test(int x) {
|
||||
switch(x) {
|
||||
case 1 -> retu<caret>
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
|
||||
class Main {
|
||||
int test(int x) {
|
||||
switch(x) {
|
||||
case 1 -> retu<caret>
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
|
||||
class Main {
|
||||
int test(int x) {
|
||||
switch(x) {
|
||||
case 1 -> {
|
||||
return <caret>
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
|
||||
class Main {
|
||||
void test(int x) {
|
||||
switch(x) {
|
||||
case 1 -> {
|
||||
return;<caret>
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
|
||||
class Main {
|
||||
void test(int x) {
|
||||
switch(x) {
|
||||
case 1 -> thro<caret>
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
|
||||
class Main {
|
||||
void test(int x) {
|
||||
switch(x) {
|
||||
case 1 -> throw <caret>
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user