Updated suggestion for part1 after discussions (I am of course OK with ignoring all .idea)
Note that ignored files are not deleted from git control in this commit