Use PsiElement#getResolveScope() instead of custom helper

Fix extensions and types completion completion in code fragments in context of library source files
Also affects completion in files not in our project (not tested)
This commit is contained in:
Pavel V. Talanov
2014-10-21 21:48:11 +04:00
parent db8d1b58b8
commit a65f0d3b2a
6 changed files with 35 additions and 20 deletions
@@ -2,4 +2,7 @@ package customLibrary
public fun foo(parameter: Int): Int {
return 1
}
private fun Int.extOnInt() {
}