IntelliJ provides preset options for directory names when creating folders via the New Directory popup, based on certain criteria. One such example is the options when creating a folder under src, src/main or src /test.
To speed up the creation of mapping root related directories, the mappings and __files directory names could be suggested.
Tasks
See how mappings and __files directory names could be suggested during directory creation.
The directory names would be suggested according to these rules
Target containing directory
Options
Doesn't contain directories mappings or __files either
No completion for now, so that completion items don't show up at many unnecessary places.
Contains mappings directory but not __files
__files
Contains __files directory but not mappings
mappings
Contains both mappings and __files directories
no option provided
The availability of these suggestions could be restricted to directory creation under non-source roots.
TBD
Find out the extension point or something similar to register these options in.
Summary
IntelliJ provides preset options for directory names when creating folders via the New Directory popup, based on certain criteria. One such example is the options when creating a folder under
src
,src/main
orsrc /test
.To speed up the creation of mapping root related directories, the
mappings
and__files
directory names could be suggested.Tasks
mappings
and__files
directory names could be suggested during directory creation.mappings
or__files
eithermappings
directory but not__files
__files
__files
directory but notmappings
mappings
mappings
and__files
directoriesTBD