This is an extension that creates directories and files based on layer architecture of DDD for each input domain.
I developed it to reduce the effort of repeating files and directories on Scala dev env.
A total of 4 directories and 4 sample scala files will be created.
DDD:Create DDD Structure
A package for the entered domain name is created, and each of the four layer packages and sample files are created below it.
DDD:Create DDD Structure Without Files
A package for the entered domain name is created, and each of the four layer packages are created below it.
DDD:Create DDD Structure With Zio
The file structure created by Create DDD Structure is the same, but additional code for the zio layer is generated in files excluding the domain layer. If you are not using the ZIO library, you do not need to use this command.
Since it is created in the standard source code location of the Scala project(i.e. src/main/scala), if it is executed with a vscode command not like through the context menu, the result will be created under the path.
Other languages may be supported in the future.
Release Notes(without hotfix)
Add new command for ZIO layer (ddd-file-generator.createDDDStructureWithZio)
Fix command name
Add another command for it without files (ddd-file-generator.createDDDStructureWithoutFiles)
Add configuration. Now It can be specified the default root path and the directory name of each layer in setting
Initial release to Vscode Marketplace with 1 main command