Java auto import not working
已回答
It's on in Preferences:

What's working
If I type a class name (`SubnetworkList`), I see a drop-down. If I select a line from the drop-down, the import is added.

What's not working
If I paste code with `SubnetworkList`, the import is not added. (I confirmed by building. The build fails because import is not there.)

I expect some kind of red underline or error to indicate that Subnetwork is an unresolved reference, but I don't see anything.
I also expect Context Action menu to have an option for adding import, but I don't see anything.

请先登录再写评论。
Could not reproduce that.
Please share a sample project.