IntelliJ IDEA 13.1 Web Help

From this topic you will learn how to:

To create a copyright profile from scratch
  1. In the Project Settings dialog box, open the Copyright Profiles page below the Copyright node.
  2. Click the Add button add on the toolbar.
  3. In the Create new copyright profile dialog box that opens specify the name of the new profile and click OK. You return to the Copyright Profiles page where the new profile is added to the list of available copyright profiles.
  4. Specify the copyright notice to be generated. Do one of the following:
    • Type the desired plain text.
    • Define a Velocity template, then click the Validate button to check that the template has been specified correctly. Find the list of supported Velocity variables in the Copyright Profiles dialog box reference.
  5. In the Keyword to detect copyright in comments text box, type a character string to distinguish copyright notices from other comments during copyright update.

    Tip

    Make sure that this keyword is a part of the above specified copyright notice. Otherwise instead of updating copyright notices, IntelliJ IDEA will insert new ones.

To create a copyright profile based on the settings of an existing profile
  1. In the Project Settings dialog box, open the Copyright Profiles page below the Copyright node.
  2. Select the desired profile to inherit the settings from.
  3. Click the Copy button copyProfileButton on the toolbar.
  4. In the Create new copyright profile dialog box that opens specify the name of the new profile and click OK. You return to the Copyright Profiles page where the new profile is added to the list of available copyright profiles.
  5. View and edit the profile settings. Proceed as during creation of a profile from scratch.
To import an existing copyright notice text
  1. In the Project Settings dialog box, open the Copyright Profiles page below the Copyright node.
  2. Click the Import button importProfileButton on the toolbar.
  3. In the dialog that opens, choose the location of the .ipr file that refers to the copyright profile with the desired notice definition.
  4. From the Choose profile to import list, that appears, select the desired copyright profile.
  5. In the Create new copyright profile dialog box that opens specify the name of the new profile and click OK. You return to the Copyright Profiles page where the new profile is added to the list of available copyright profiles.
  6. Proceed as during creation of a profile from scratch.
To discard a copyright profile
  1. In the Project Settings dialog box, open the Copyright Profiles page below the Copyright node.
  2. Select the profile you want to discard and click the Delete button delete on the toolbar.

See Also

Concepts:

Procedures:

Reference:

External Links:

Web Resources: