The project is using Maven so the POM files are the main sources of project info. There are some useful settings in the project files which would be nice to keep.
OTOH IDEA seems to create too many redundant changes in the project file structure which pollutes the SVN history and sometimes creates conflicts.
Should I keep the .idea directory and the *.iml files under version control? in full? in part?
Update: So the best practice I have found working for me and my team is so far:
- Check in all IDEA files, *.iml and .idea directories. They contain valuable information and it's a waste of time to recreate it each time you update.
- Create private branch for every developer
- cd into .idea directory
- svn switch it to its private branch counterpart
- Don't check in IDEA files on regular commits -- they pollute history. Check them in on special commits.
This way, you keep the content of .idea directory in version control but keep it out of the way of regular commits. Any developer can have access to anybody else's IDEA directories.