Exclude Output Paths on the Paths tab refers to the output path of the module . Project output specified in file | Project structure | Project | "Project compiler output" is always excluded. If you really need to enable it, you can do the following:
- Go to the tab "Use module compilation path" on the "Contours" tab for all modules.
- Select the Project element in the left list and clear the Project Compiler Output field.
- Re-run the project.
After that, the "out" directory should become visible in the "Project View". However, I recommend that you manually exclude the output subdirectories of the module on the Sources tab. Otherwise, IDEA may rescan and re-output the output files generated by the compiler after each compilation, and this can lead to performance problems.
source share