The team obviously needs to have the same code style, inspections and copyright settings in the IDE. Although I don't see how copyright settings could be imported into a file and then shared in the team. Is there any way to import copyright settings the similar way we import code style settings?
If you go to Settings > File Templates, you can configure each file to contain a copyright notice in its header. You can also configure such notices for inner classes, etc, in Settings > Live Templates (create a macro that your team is trained to use when creating an inner class). Both file templates and live templates can be exported/imported as settings.
Take a look at this Intellij FAQ about committing the .idea folder into the repository.
The copyright settings (made, as you noted, via File -> Settings -> Copyright) are Project Level settings and are accordingly stored in the .idea/copyright
folder. If you were to check-in that folder (or the whole .idea folder with the exceptions noted in the FAQ), then it would be available to the team.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With