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
@@ -0,0 +1,20 @@
// INTENTION_TEXT: "Add import for 'pack.name.Fixtures.Register'"
package pack.name
import pack.name.Fixtures.Register
class Fixtures {
class Register {
class Domain {
object UserRepository {
val authSuccess = true
val authError = false
}
}
}
}
fun test() {
Register.Domain.UserRepository.authSuccess
}