mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-09 15:41:26 +07:00
smart completion in lambda body: decision to insert semicolon based on lambda context and body type (IDEA-91083)
This commit is contained in:
+5
@@ -0,0 +1,5 @@
|
||||
class Test {
|
||||
public void foo() {
|
||||
Runnable r = () -> {notify();};
|
||||
}
|
||||
}
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
class Test {
|
||||
public void foo() {
|
||||
Runnable r = () -> {<caret>};
|
||||
}
|
||||
}
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
class Test {
|
||||
public void foo() {
|
||||
new Thread(() -> notify());
|
||||
}
|
||||
}
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
class Test {
|
||||
public void foo() {
|
||||
new Thread(() -> <caret>);
|
||||
}
|
||||
}
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
class Test {
|
||||
public void foo() {
|
||||
Runnable r = () -> notify();
|
||||
}
|
||||
}
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
class Test {
|
||||
public void foo() {
|
||||
Runnable r = () -> <caret>
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user