IntelliJ IDEA 2016.1 Help


File | Settings | Editor | Copyright for Windows and Linux
IntelliJ IDEA | Preferences | Editor | Copyright for OS X

Use this page to associate copyright profiles with the specific scopes within your project.

In this section:

Copyright options

ItemTooltip and shortcutDescription
Default project copyrightUse 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 the following dialog box:


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 areaNote that unless you have at least one copyright profile and scope, the controls below are disabled.
ScopeClick 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.
CopyrightClick an entry in this column to select a copyright profile from the drop-down list of available copyright profiles.
addAdd Alt+InsertUse this icon or shortcut to add a new scope-profile combination.
deleteDelete Alt+DeleteUse this icon or shortcut to remove the selected item from the list.
arrowUparrowDownUp/Down Alt+Up/Alt+DownUse 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 onesClick this link to open the Scopes page, where you can create a new scope or edit an existing one.

See Also

Last modified: 13 July 2016