How to mark the root folder of a few modules as project files?
Answered
I have a project with several modules living in a git monorepo, the folder structure is like this.
monorepo
` module1
` some module files
` module2
` some other module files
` docker-compose.yml
` .gitignore
The problem is that all the module1 and module2 folders are marked as content root, but not the monorepo folder. Therefore, when I attempt to edit files like docker-compose.yml and .gitignore, the IDE complains that these are not the project files. I am actually opening the whole project by the folder monorepo, but it still won't regonize those outside the modules.
Please sign in to leave a comment.
You can add another module with the content root set to monorepo and the submodules excluded.
Thank you for your help, let me try it out. But which module type should i choose for this?
Static web should be fine.
Thanks for your help. It works now.