Gitlab Projects Jetbrains IDE plugin - PavlikPolivka/GitLabProjects GitHub Wiki

This plugin adds GitLab support to your favorite Jetbrains IDE.

Settings

To set up the plugin you need to add info about your gitlab server and token with access to the api.

Settings Dialog

To open settings dialog click on

File -> Settings -> Version Control -> GitLab

Settings Dialog

Click Add New GitLab Server

New Server Dialog

Add info about your server.

Example:

  • UI Server: https://gitlab.com/ (needs to be with correct protocol)
  • Repo Server: gitlab.com (fill this if your UI is running on different URL than your repos are checkout from, otherwise leave empty)
  • Access Token: You gitlab access token (needs REST API access)
  • Checkout method: select whether you prefer to checkout projects over SSH or HTTPS
  • Default Remove Source Branch when merged: check when the branch should be deleted after merge via code review tool

Sharing a project

This plugin allows you to share your new projects into your GitLab instance.

To share your projects click on

VCS -> Import into version control -> Share on Gitlab

Share Dialog

Add info about your project.

Cloning a project

This plugin also provides an autocompleter for your gitlab projects into IDE git checkout dialog.

To clone a project click on

VCS -> Checkout from Version Control -> Git

Start typing and the dialog will offer you a list of your GitLab projects.

Clone Dialog

Merge requests

This plugin can manage all your merge request related needs.

Creating merge request

To create a merge request click on

VCS -> Git -> GitLab -> Create Merge Request

Fill the info. Assignee is filled by the current project members.

Creste Merge Request Dialog

Listing merge requests

To list all the current Merge Requests click on

VCS -> Git -> GitLab -> List Merge Requests

List Merge Requests Dialog

Code review

You can do code review on each merge request by clicking the Code Review button.

Code Review Dialog

Also you can read and add comments to the merge request.

Comments Dialog