IntelliJ IDEA 13.1 Web Help

Some features described here are available in Ultimate edition only.

The Perforce integration with IntelliJ IDEA provides you with a user interface for attaching and detaching Perforce jobs to changelists.

Tip

To get access to this functionality, select the Enable Perforce Jobs Support check box on the Perforce page of the Settings dialog box.

Note

The integration does not support creation of Perforce jobs.

From this topic you will learn how to:

  • Attach jobs to changelists:
  • Find the desired job to attach to a changelist using:
    • The standard search functionality, which enables you to specify numerous search criteria and thus to flexibly configure the search procedure.
    • The quick search functionality, which enables you to have the found job linked to the changelist automatically.

      Tip

      This functionality is helpful when you need to attach only one job to a changelist and you either know the exact name of the desired job or at least can specify a search pattern for the name.

  • Detach jobs from changelists.
To find and link a job at any stage of your work
  1. Open the Local tab of the Changes tool window.
  2. Select the changelist you want to link a job to.
  3. From the context menu of the changelist, choose Edit Associated Jobs. The Edit Jobs Linked to Changelist dialog box opens.
  4. Find the desired job. Do one of the following:
  5. View the details of the found job and click OK.
To find and link a job during commit
  1. In the Local tab of the Changes tool window, select the changelist you want to link a job to and open the Commit Changes dialog box.
  2. Find the desired job using the controls in the Jobs area. Do one of the following:
  3. View the details of the found job and continue the commit procedure.
To find a job using the standard search functionality
  1. In the Edit Jobs Linked to Changelist dialog box or in the Jobs area of the Commit Changes dialog box, click the findPerforceJob button.

    Note

    Which dialog box you are currently in depends on whether you are linking jobs during commit or at any other stage of work.

  2. In the Link Job to Changelist dialog box that opens, specify the desired search parameters.

    Tip

    At least one of the fields should be filled in.

  3. Click the Search button. The jobs that match the specified criteria are shown in the Search Results list. To view the details of a job, select it in the list.
  4. Select the desired job and click OK. The dialog box closes and you return to the dialog box where you started the search:
To quickly find and link one job
  1. Open the Edit Jobs Linked to Changelist dialog box or switch to the Jobs area of the Commit Changes dialog box.

    Note

    The dialog box to be used depends on whether you are linking jobs during commit or at any other stage of work.

  2. In the text box, type the desired job name search pattern and click the add button. The job is found and automatically linked to the current changelist.

    Note

    If no job matching the specified pattern is found, the corresponding information message is displayed.

    Warning

    The details of jobs that are found and linked through the quick search functionality are available only in the Edit Jobs Linked to Changelist dialog box.

To detach a job from a changelist
  • In the Edit Jobs Linked to Changelist dialog box or in the Jobs area of the Commit Changes dialog box, select the desired job and click the delete button.

    Note

    The dialog box to be used depends on whether you are detaching jobs during commit or at any other stage of work.

See Also

Concepts:

Procedures:

Reference:

External Links:

Web Resources: