I cannot create a new class using Alt+Insert, having selected the src folder. Instead I use New>File

Hello Idea community


I know it is discouraged to have a non-pakage java class but it is confusing not to have New > Java Class option when src folder is selected. It is legal but not recommended so I think idea should alow to create a package-less java class using New (Alt+Insert). On the other hand Idea doesn't warn against removing a class from a package to src folder. Is this an issue in Idea or is an intended behaviour.   Idea Leda 120.305.



Thank you in advance for useful clarifications
1 comment
Comment actions Permalink

This is a bug that will be fixed in the next EAP build.

0

Please sign in to leave a comment.