Hi, I have an issue with auto adding imports, which is really annoying. It automatically adds import and prefix variables it in the rest of file, for example:
When I have a code:
class (
val email:String
) {
fun doSomething() {
print(email)
}
Then I decide not to define property
email
in constructor and remove
val
, IDEA automatically change all occurrences of
email
like this:
import kotlinx.html.InputType
class (email:String) {
fun doSomething() {
print(InputType.email)
}
}
I am facing it in lot of similar cases, usually related to enums.
I have option `Editor->General->Auto Import->Add unambiguous imports on the fly`disabled.