You can use the idea plugin to tell idea about gen...
# build-tools
t
You can use the idea plugin to tell idea about generated sources. As for checking in the idea folder. I usually only check-in copyright profiles, code style config, run configs.