Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

When creating maven project using Intellij IDEA, by default target 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 target directory again invisible. So I need again go to module settings and remove target directory from Excluded directories.

How I can make visible maven's target directory forever?

like image 203
WelcomeTo Avatar asked Jan 11 '13 06:01

WelcomeTo


1 Answers

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.

like image 125
Eugene Evdokimov Avatar answered Sep 20 '22 17:09

Eugene Evdokimov