IntelliJ IDEA enables you to create directories under a module directory that is not a source root. So doing, it is possible to create directories recursively, thus producing a whole directory structure.
Directories are marked with the folder icon .
To create a new directory
- In the Project tool window, select the destination directory node.
- On the context menu of the selection, choose New | Directory , or press Alt+Insert to invoke the context menu.
- In the New Directory dialog box that opens specify the directory name. You can also specify nested directories; in this case, use slashes as the delimiters. Click OK. IntelliJ IDEA creates the new directory or directory structure.