mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
IDEA-169028 Broken auto-import completion inside lambda
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
public class SomeClass {
|
||||
private void b() {
|
||||
a(i -> PathUtil.toS<caret>s + "Hello");
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,8 @@
|
||||
import pkg.PathUtil;
|
||||
|
||||
public class SomeClass {
|
||||
private void b() {
|
||||
a(i -> PathUtil.toSystemDependentName()<caret> s + "Hello");
|
||||
}
|
||||
}
|
||||
|
||||
+6
@@ -1763,4 +1763,10 @@ class Bar {
|
||||
checkResultByFile(getTestName(false) + ".java")
|
||||
}
|
||||
|
||||
void testChainInLambdaBinary() {
|
||||
codeStyleSettings.ALIGN_MULTILINE_BINARY_OPERATION = true
|
||||
myFixture.addClass("package pkg; public class PathUtil { public static String toSystemDependentName() {} }")
|
||||
doTest('\n')
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user