Copyright Profile Page
Use this page to configure the selected profile: define the copyright notice to be generated and specify the keyword to detect copyright notices in comments.
Item | Description | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Name | Use this text field to view or edit the name of the selected copyright profile. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Copyright text (may contain Velocity templates) | Use this text area to view or edit the copyright notice to be generated. A copyright profile can contain an explicit plain text of the copyright notice or its definition through a Velocity template. Currently the following variables are available in the Velocity context:
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Validate | Click this button to check that the Velocity template has been specified correctly. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Regex to detect copyright in comments | Use this text box to type, view, or edit the regular expression that will be used to find copyright notices in comments. This regular expression should match the above specified copyright notice. Otherwise instead ofupdating copyright notices, IntelliJ IDEA will insert new ones. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Allow replacing copyright if old copyright contains: | Use this text box to type or edit the string that will be recognized in the existing copyright notice, and allow replacing it with the new one. |