Navigate to symbol for kotlin properties

This commit is contained in:
Nikolay Krasko
2012-10-16 14:52:28 +04:00
parent bc85a8bf6b
commit 04670d5d6e
11 changed files with 227 additions and 7 deletions
@@ -0,0 +1,12 @@
fun testFunction() {
}
class Some {
fun testFunInClass() = 12
}
// SEARCH_TEXT: test
// REF: (in <root>).testFunction()
// REF: (in Some).testFunInClass()
@@ -0,0 +1,23 @@
val testGlobal = 12
fun some() {
val testInFun = 12
}
trait SomeTrait {
val testInTrait
}
class Some() {
val testInClass = 12
class object {
val testInClassObject = 12
}
}
// SEARCH_TEXT: test
// REF: (<root>).testGlobal
// REF: (Some).testInClass
// REF: (Some).testInClassObject
// REF: (SomeTrait).testInTrait