Did anyone notice that when trying to use a Kotlin...
# intellij
p
Did anyone notice that when trying to use a Kotlin enum from Java the IDE is super dumb regarding imports? For example I have a java annotation in java code:
Copy code
@Hello(MY_ENUM_VALUE)
where
MY_ENUM_VALUE
is a Kotlin enum. If I just type that (like you see it), the IDE will import
Hello
automatically but acts like it has no idea what to import for
MY_ENUM_VALUE
even though it is super clear since it knows what type it should be.
1
a