add idea nature to the project and ignore generated files