I was working in one project then created new one and after opening the old one it is not recognized as java project. There is no option to create class in package (as you see on the pic), empty middle packages are not hidden but this option is set on.
Why intelij-idea does not recognize java project?