Using PsiShortNamesCache will not automatically import packages after entering the class name and pressing enter

Can only say that PsiShortNamesCache is not API to implement resolve of PsiClass, it is only used as an actual cache for performance reasons.

The right direction would be