(IU-94.633)Fully qualified name instead of single import

Hi!

I get strange behaviour with IU-94.633 and one of my Grails projects. Instead of a single import IDEA always makes a fully qualified class (or import, don't know exact notation) and doesn't even offer the opportunity to choose "import class yxc".

Example:

Instead of

import java.text.MessageFormat


I get

java.text.MessageFormat.format(...)

java.text.MessageFormat.format(..., ...)


This worked in earlier version. Is there any change in behaviour (bug?) I am not aware of or am I doing something completely wrong?

Thanks in advance!!

Regards

0
Avatar
Permanently deleted user

There is already an issue for this: http://youtrack.jetbrains.net/issue/IDEA-53041

Cheers,
Peter

0
Avatar
Permanently deleted user

Didn't find it, thanks a lot!

0

And it is still not working. For some reason, my 2021.2.2 Ultimate started to use fully qualified names instead of single imports.
'Use fully qualified class names' option is disabled. :(

0

请先登录再写评论。