Use this page to associate copyright profiles with the specific scopes within your project.
In this section:
|Item||Tooltip and shortcut||Description|
|Default project copyright||Use this drop-down list to specify the default copyright profile at the project level. The default profile applies to those project files that do not belong to any defined scope. The default profile also applies when no specific profile-scope combinations have been created. |
By default, IntelliJ IDEA suggests No copyright.
If No copyright value is selected, then, on an attempt to create a copyright notice in a file out of any defined scope, IntelliJ IDEA will show a dialog box asking you whether you want to edit the copyright settings.
Choosing OK results in opening this page, where you can select the default project profile from the existing ones, or create a new one; choosing Cancel generates no copyright notice at all.
The drop-down list contains the available copyright profiles defined in the Copyright Profiles page.
If only No copyright option is available, the scope-profile combinations area is disabled. With at least one copyright profile defined, the scope-profile combinations area below becomes enabled.
|Scope-profile combinations area||Note that unless you have at least one copyright profile and scope, the controls below are disabled.|
|Scope||Click an entry in this column to select the desired shared scope from the drop-down list. If the desired scope is not yet defined, click the link below to open the Scopes dialog box, where you can create a new scope or edit an existing one.|
|Copyright||Click an entry in this column to select a copyright profile from the drop-down list of available copyright profiles.|
|Add Alt+Insert||Use this icon or shortcut to add a new scope-profile combination.|
|Delete Alt+Delete||Use this icon or shortcut to remove the selected item from the list.|
|Up/Down Alt+Up/Alt+Down||Use these icons or shortcuts to move the selected item one line up or down in the list. |
The order of scope-profile combination is important, because if a file belongs to several scopes, these scopes are checked upside down. So doing, the first scope where this file belongs, is declared the proper one, and its copyright profile is used.
|Select Scopes to add new scopes or modify existing ones||Click this link to open the Scopes page, where you can create a new scope or edit an existing one.|