PhpStorm 2019.1 Help

Associating a Copyright Profile with a Scope

  1. In the Settings/Preferences dialog (Ctrl+Alt+S), go to Editor | Copyright. The Copyright page that opens displays mappings between the available copyright profiles and scopes.

    Note that unless you have at least one copyright profile and scope, the controls of the Scope-profile combinations area are disabled.

  2. Click the Add button (Alt+Insert). A row to define a new mapping is created.

  3. From the Scope list, select the desired scope. Note that you can select built-in or shared (that is, having the Share through VCS option enabled) scopes.

    To define a new scope, open the Scopes page or click the link in the lower part of the Copyright page.

  4. From the Copyright list, select the profile to apply to the selected scope.

  5. Continue composing the list of scope-profile mappings. Use the Add button (Alt+Insert) or the Remove button (Alt+Delete) to add or remove the items. To reorder the mappings, use icons actions previousOccurence svg (Alt+Up) and icons actions nextOccurence svg (Alt+Down).

Set the default Copyright profile for a project

The settings of the default profile will be applied to any project file that is not included in any scope or belongs to a scope that has no associated copyright profile.

  1. In the Settings/Preferences dialog (Ctrl+Alt+S), go to Editor | Copyright. The Copyright page opens.

  2. Select the desired copyright profile from the Default project copyright list.

    Note that is you select No copyright, any attempt to generate a copyright notice will fail and PhpStorm will prompt you to create a profile to apply.

Last modified: 26 July 2019

See Also