Your project can contain files to be protected by copyright. Instead of generating and editing copyright notices in each file separately, IntelliJ IDEA suggests that you use copyright profiles. Each copyright profile is associated with a certain scope and defines the text and formatting of the copyright notice to be inserted in the files within this scope.
You may need several different copyright notices for files within the same project. In this case, IntelliJ IDEA enables you to define several profiles and associate them with relevant scopes.
You can also declare one of the available profiles as default project copyright profile. The settings of this profile will be applied to any project file that is not included in any scope or belongs to a scope, which has no associated copyright profile.
A copyright profile can contain an explicit plain text of the copyright notice or its definition through a Velocity template. You can type the desired text or a Velocity template manually or import a copyright notice definition from an existing profile.
Before using copyright profiles, make sure that the Copyright plugin is enabled.
In this section:
- Creating Copyright Profiles
- Associating a Copyright Profile with a Scope
- Enabling and Disabling Plugins
- Generating and Updating Copyright Notice