MyTitle MyTitle - 11 months ago 59
Java Question

Intellij IDEA. Always show maven's `target` directory

When creating maven project using Intellij IDEA, by default

directory is not visible in Project explorer. But I can make it visible by removing it from excluded folders in module settings. But it work only for short period of time, and after 10-15 minutes
directory again invisible. So I need again go to module settings and remove
directory from Excluded directories.

How I can make visible maven's
directory forever?


Try to uncheck the Exclude build directory checkbox under Settings - Project Settings - Maven - Importing.

Description from IDEA help:

Select this check box to exclude a build directory from the project. This might be useful, if you want to speed up the project's importing process . If this check box is cleared, IntelliJ IDEA will index files in the build directory every time you import a project which might take additional time.