1

I'd like to disable indexing for .cache folders in a Maven project which is imported into IntelliJ IDEA (mentioned cache-folders exist in many sub-modules).

I know that I can disable indexing by marking it as "Excluded", but this setting is not shared across other users who use the same repository with IntelliJ.

I also know that Maven target folders are excluded, but the mentioned folders cannot be moved to target.

Is there a way to permanently exclude a folder from indexing and share this config with other users so it also persists when a new user sets up his IDE?

Preferred solution would be without checking .iml files into Git.

uwolfer
  • 4,356
  • 1
  • 25
  • 40
  • Did you already check [this answer](https://stackoverflow.com/a/2028884/104891)? Does it help? – CrazyCoder Aug 13 '17 at 11:52
  • Yes, I have shorty looked at maven-idea-plugin, but I've not used it because the official site says "Apache Maven IDEA Plugin (RETIRED) Note: This plugin is retired. It is no longer maintained.". Since 2013. – uwolfer Aug 13 '17 at 12:00
  • In this case there doesn't seem to be a way to do it without committing the `.iml` files. – CrazyCoder Aug 13 '17 at 12:12

0 Answers0