FIR IDE: add missing binary extensions
This also reveals and error in find usages for fir: it does not work for library source files So, corresponding tests are muted
This commit is contained in:
committed by
TeamCityServer
parent
e4a5775570
commit
caff279255
@@ -73,6 +73,10 @@ The Kotlin FIR plugin provides language support in IntelliJ IDEA and Android Stu
|
||||
|
||||
<extensions defaultExtensionNs="org.jetbrains.kotlin">
|
||||
<beforeResolveHighlightingVisitor implementation="org.jetbrains.kotlin.idea.fir.highlighter.visitors.DeclarationHighlightingExtension"/>
|
||||
<binaryExtension implementation="org.jetbrains.kotlin.idea.util.JavaClassBinary"/>
|
||||
<binaryExtension implementation="org.jetbrains.kotlin.idea.util.KotlinBuiltInBinary"/>
|
||||
<binaryExtension implementation="org.jetbrains.kotlin.idea.util.KotlinModuleBinary"/>
|
||||
<binaryExtension implementation="org.jetbrains.kotlin.idea.util.KotlinJsMetaBinary"/>
|
||||
</extensions>
|
||||
|
||||
<actions>
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
// PSI_ELEMENT: com.intellij.psi.PsiClass
|
||||
// OPTIONS: usages
|
||||
// FIND_BY_REF
|
||||
// FIR_COMPARISON
|
||||
|
||||
package usages
|
||||
|
||||
|
||||
+2
-2
@@ -1,2 +1,2 @@
|
||||
Local variable declaration 11 val foo: Foo
|
||||
Usage in import 8 import library.Foo
|
||||
Local variable declaration 10 val foo: Foo
|
||||
Usage in import 7 import library.Foo
|
||||
@@ -1,7 +1,6 @@
|
||||
// PSI_ELEMENT: com.intellij.psi.PsiField
|
||||
// OPTIONS: usages
|
||||
// FIND_BY_REF
|
||||
// FIR_COMPARISON
|
||||
|
||||
package usages
|
||||
|
||||
|
||||
+1
-1
@@ -1 +1 @@
|
||||
Value write 11 Foo(1).x = 1
|
||||
Value write 10 Foo(1).x = 1
|
||||
-1
@@ -1,7 +1,6 @@
|
||||
// PSI_ELEMENT: com.intellij.psi.PsiField
|
||||
// OPTIONS: usages
|
||||
// FIND_BY_REF
|
||||
// FIR_COMPARISON
|
||||
|
||||
package usages
|
||||
|
||||
|
||||
+1
-1
@@ -1 +1 @@
|
||||
Value write 11 Foo.X = 1
|
||||
Value write 10 Foo.X = 1
|
||||
-1
@@ -1,7 +1,6 @@
|
||||
// PSI_ELEMENT: com.intellij.psi.PsiMethod
|
||||
// OPTIONS: usages
|
||||
// FIND_BY_REF
|
||||
// FIR_COMPARISON
|
||||
|
||||
package usages
|
||||
|
||||
|
||||
+1
-1
@@ -1 +1 @@
|
||||
Function call 11 Foo.baz(1)
|
||||
Function call 10 Foo.baz(1)
|
||||
Reference in New Issue
Block a user