FIR IDE: Add more correct importing of the callables

Now we use scopes to decide if the callable really needs to be inserted
This commit is contained in:
Roman Golyshev
2021-03-03 18:40:36 +03:00
parent 76ff106458
commit 7b7ba717d0
14 changed files with 142 additions and 21 deletions
@@ -79,6 +79,11 @@ public class PerformanceBasicCompletionHandlerTestGenerated extends AbstractPerf
runTest("idea/idea-completion/testData/handlers/basic/ExtensionFunctionTypeVariable2.kt");
}
@TestMetadata("ExtensionPropertyFromSameFile.kt")
public void testExtensionPropertyFromSameFile() throws Exception {
runTest("idea/idea-completion/testData/handlers/basic/ExtensionPropertyFromSameFile.kt");
}
@TestMetadata("ExtensionReceiverTypeArg.kt")
public void testExtensionReceiverTypeArg() throws Exception {
runTest("idea/idea-completion/testData/handlers/basic/ExtensionReceiverTypeArg.kt");