import failing
re: LEDA EAP 118.7490
For some reason the inspection that locates classes for importation
failed in the EAP release. Basically, it could find the package, but falsely reported that package as containing no classes (interface defintions actually) .
I closed he the LEDA EAP and opened tghe same project in 117.499 and it had no problem finding the classes which needed importation.
HTH
Please sign in to leave a comment.
Please try File | Invalidate Caches
Still fails. Also, invalidate caches nukes local history. This is a no-go bug for me, need imports to work depend on local history also. HTH
OK found out what was going on. Intellij will let you misname, with respect to capitalization, a package relative to the actual file folder . So i can have
package MyPackage
import blah blah blah
class myClass{}
in a folder whose actual name is myPackage (<-- note small m)
it doesn't give an error but it totally screws up the code insight relative to importing anything from this package.
It ought to give an error when the package name doesn't match the folder.
HTH
http://youtrack.jetbrains.com/issue/IDEA-89193
Which OS are you using?
xp64