javaintellij-ideadirectory

intelij IDEA "new directory" not showing


Whenever I try to create a new folder/directory in IntelliJ IDEA's project structure window, the option doesn't appear in the dropdown when I right-click and go to "New."

See the following image that illustrates the problem:

problem illustration image

What could be causing this issue?


Solution

  • Its called Package in intellij. Outside of java (the package keyword), package, folder, and directory all mean the same thing. A place to hold other packages/folders/directories/ and files in.

    Edit: intellij also uses Directory. (it seems by default) Although i'm guessing you were creating a package/folder/directory already somewhere inside of a directory named java. Inside here it will be called Package.