PhpStorm 2020.3 Help

Copyright

You may need several different copyright notices for files within the same project. In this case, you can configure several profiles and associate them with different scopes.

Assign a profile to a scope of files

  1. In the Settings/Preferences dialog Ctrl+Alt+S , select Editor | Copyright.

  2. Click Add  Alt+Insert , and select an existing shared scope from the list.

    You can define a new scope if necessary. Click the Select Scopes to add scopes or modify existing ones link in the lower part of the page.

  3. From the Copyright list, select the profile that you want to link with the scope.

    Associating a profile with a scope
  4. Apply the changes and close the dialog.

Set the default copyright profile

The settings of the default profile will be applied to files that are not explicitly included in any scope covered by a profile.

  1. In the Settings/Preferences dialog Ctrl+Alt+S , select Editor | Copyright.

  2. From the Default project copyright list, select the profile you want to use as the default profile.

Last modified: 19 August 2020