IntelliJ IDEA plugin

This topic describes how to use the Git Client IntelliJ IDEA plugin.

Clone streams

You can clone a Dimensions CM stream in IntelliJ IDEA.

To clone a stream using plugin v1.3.x or later:

  1. In IntelliJ IDEA, select VCS > Get from Version Control.

    Or click Get from Version Control on the Start Page.

  2. Select Dimensions CM.
  3. To connect to the Dimensions CM server, enter the URL of the Dimensions CM product and click Connect. For details about the URL format, see Git Client command-line format.
  4. If you haven't specified the stream in the URL, select the stream you want to clone.
  5. (Optional) Choose whether to clone all child streams of the parent stream.
  6. If you haven't specified the folder in the URL, enter the folder path where to clone the stream.
  7. Click Clone.
  8. (Optional) When prompted, create a project from the cloned sources.

To clone a stream using plugin v1.2:

  1. In IntelliJ IDEA, select File > New > Project from Version Control > Git.
  2. Enter the URL of the stream you want to clone.
  3. To test the connection to the repository, click Test.
  4. In the Directory field, enter the location where to clone the stream.
  5. Click Clone and confirm that you want to create an IntelliJ project.

Back to top

View and open requests

You can view requests in your inbox, open them, and set the default request for commits. If you are starting work on a request that is not in your inbox, you can display all the requests in the current stream.

Git Client IDE plugin 1.5 and later: You can work with requests from different providers in the same Dimensions CM instance. The supported providers are ALM Octane, Atlassian Jira, and SBM. For details, see Configure request providers.

To view requests:

  1. In IntelliJ IDEA, select View > Tool Windows > Dimensions Explorer. The Dimensions Explorer view is displayed.
  2. In the Dimensions Explorer view, select the Requests tab. In this tab, you can:

    • Search for requests.

    • View your inbox requests.

    • View all requests in the current stream.

  3. To open a request in a browser, select the request, and click Open Request in the Requests toolbar.

    Dimensions CM requests open in the Dimensions CM web client. External requests open in their relevant provider instance such as ALM Octane, Jira, or SBM.

  4. Git Client IDE plugin 1.5 and later: To view a request's details, select the request, and click Open Request Details in the Requests toolbar.

    The details are displayed in the right pane. The summary includes information about the request type, description, author, and creation date.

  5. To set the default request for commits, right-click the request, and select Set Working Request. The request name is displayed in italics.

Back to top

Relate requests and commit changes

You can commit changes to a repository and relate requests to commits.

To commit, you can use the Commit dialog box or the Local Changes tab of the Version Control window.

To choose how to commit changes:

  1. In IntelliJ IDEA, select File > Settings.
  2. Expand Version Control and select Commit Dialog.
  3. To use the Local Changes tab of the Version Control window, select Commit from Local Changes without showing the Commit dialog.

    To use the Commit dialog box, leave this option cleared.

  4. Click OK.

To commit changes:

  1. Right-click the file or folder you want to commit, and select Git > Commit.
  2. (Optional) Enter a commit message.
  3. Tip: IntelliJ IDEA adds the message and request ID that you used in the most recent commit.

  4. To relate a request to the commit, click Set Request ID and select a request from your Dimensions CM inbox. The request ID is added to the commit message.

    If your inbox requests are not displayed, click Refresh Request List.

  5. Select an option from the Commit action list.

Back to top

Open reviews and pull requests

You can view reviews and pull requests for the current Dimensions CM stream, and open them in PulseUno.

When reviews and pull requests are created, they are automatically displayed in the Dimensions Explorer view.

To open reviews and pull requests:

  1. In IntelliJ IDEA, select View > Tool Windows > Dimensions Explorer. The Dimensions Explorer view is displayed.
  2. In the Dimensions Explorer view, select the Reviews tab. In this tab, you can search for reviews and pull requests.
  3. To open a review in PulseUno, select the review or pull request, and click Open Review.

Back to top

Open PulseUno

You can open PulseUno in a browser, and view requests, reviews, and pull requests.

To open PulseUno:

  1. In IntelliJ IDEA, select View > Tool Windows > Dimensions Explorer. The Dimensions Explorer view is displayed.
  2. In the Dimensions Explorer view, select the Reviews or Requests tab.
  3. In the Dimensions Explorer title bar, click Micro Focus Pulse.

For details about PulseUno, see PulseUno.

Back to top

See also: