79478758

Date: 2025-03-02 07:51:18
Score: 1.5
Natty:
Report link

I can see that the Package option is missing from the New menu.

Here's how to fix it:

Mark the Folder as "Source Root":

Right-click on the java folder (or the folder containing your packages). Select Mark Directory as → Sources Root. Restart IntelliJ:

Go to File → Invalidate Caches / Restart → Invalidate and Restart. Try Again:

Right-click on the com folder (or any folder inside src/main/java). Select New → Package — this option should now appear.

Reasons:
  • No code block (0.5):
  • Low reputation (1):
Posted by: Pushpendra gour