ImportMemberIntention: make more flexible based on caret position

#KT-31924 Fixed
This commit is contained in:
Dmitry Gridin
2019-06-30 17:08:59 +07:00
parent 6f2f60869c
commit 33914a3a94
12 changed files with 134 additions and 19 deletions
+18
View File
@@ -0,0 +1,18 @@
// INTENTION_TEXT: "Add import for 'pack.name.Fixtures'"
package pack.name
class Fixtures {
class Register {
class Domain {
object UserRepository {
val authSuccess = true
val authError = false
}
}
}
}
fun test() {
pack.name.<caret>Fixtures.Register.Domain.UserRepository.authSuccess
}