Find Usages: Support text-file search of Kotlin declarations
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
// PSI_ELEMENT: org.jetbrains.jet.lang.psi.JetClass
|
||||
// OPTIONS: textOccurrences
|
||||
package test
|
||||
|
||||
class <caret>Foo {
|
||||
|
||||
}
|
||||
@@ -0,0 +1,2 @@
|
||||
test.Foo
|
||||
Foo
|
||||
@@ -0,0 +1 @@
|
||||
Unclassified usage (1: 1) test.Foo
|
||||
@@ -0,0 +1,9 @@
|
||||
// PSI_ELEMENT: org.jetbrains.jet.lang.psi.JetNamedFunction
|
||||
// OPTIONS: textOccurrences
|
||||
package test
|
||||
|
||||
class Foo {
|
||||
fun <caret>foo() {
|
||||
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
Function foo is defined in class Foo
|
||||
@@ -0,0 +1 @@
|
||||
Unclassified usage (1: 10) Function foo is defined in class Foo
|
||||
Reference in New Issue
Block a user