Is it just me or do you also think IntelliJ auto-g...
# intellij
o
Is it just me or do you also think IntelliJ auto-generating import statements for symbols in the same file is somewhat weird? Example in 🧵.
Using a Kotlin scratch file and typing
Copy code
object Foo {
    val bar = "bar"
}
followed by
Copy code
println(bar)
makes IntelliJ auto-generate an import statement like so:
Copy code
import Scratch_734.Foo.bar
I'd have expected it to flag an error for
bar
instead.