Recent change in class import suggestion?
Up until a few EAP releases ago, IDEA was very good about recognizing a piece of text that can't resolve to a symbol and matching it against the classes in the classpath. For example, if I typed "Guice." it would give me a nice little prompt that I could press Alt-Enter with and i'd know to import com.google.inject.Guice. It's been this way for as long as I've been using IDEA, which is 6+ years. I'm a bit worried that 9.0 is changing the behavior in a subtle but annoying way. Hopefully it's just a bug Here's what is happening:
When I now type "Guice." the text stays red and I am not prompted. I press backspace so that the text is now "Guice" and it remains red with no prompt. However, if I then alt-tab away from IDEA and then tab back in, I'm then prompted. But if I press "." again, the prompt goes away. Then if I alt-tab back and forth again, the prompt is back with the text at "Guice.".
It feels like a bug and I hope it is, because it's quite frustrating. Anyone else noticing this?
Patrick
请先登录再写评论。
Anyone have any thoughts on this?
Pat Lightbody wrote:
I'm seeing this too in Maia (since some months), and it's extremely
annoying.
-tt
Yep, seen this too. Also delay of first showing of import hint has increased dramatically.
Can anyone from IDEA please let us know if you're aware of this issue? I would hate to see the final release include such a terrible step backwards in terms of usability.
I spoke too soon - the latest EAP as of today (Nov 4) has this issue resolved. JetBrains rocks!