Java auto import not working

Answered

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.

 

 

 

0
1 comment

Could not reproduce that.

Please share a sample project. 

0

Please sign in to leave a comment.