Install and set up GitLab for Eclipse
Tier: Free, Premium, Ultimate
Offering: GitLab.com, GitLab Self-Managed, GitLab Dedicated
Status: Experiment
This page contains information related to upcoming products, features, and functionality.
It is important to note that the information presented is for informational purposes only.
Please do not rely on this information for purchasing or planning purposes.
The development, release, and timing of any products, features, or functionality may be subject to change or delay and remain at the
sole discretion of GitLab Inc.
Add the GitLab Releases software site
To add the stable GitLab Releases software site:
- In your IDE, select Eclipse > Settings….
- On the left sidebar, expand Install/Update, then select Available Software Sites.
- On the right, select Add… to configure a new software site.
- For Name:, use
GitLab Releases
. -
For Location:, copy and paste the following URL:
https://gitlab.com/gitlab-org/editor-extensions/gitlab-eclipse-plugin/-/releases/permalink/latest/downloads/
- Select Add.
- Select Apply and Close.
Install the GitLab for Eclipse plugin
Prerequisites:
- Eclipse 4.33 and later.
- GitLab version 16.8 or later.
To install GitLab for Eclipse:
- In your IDE, select the Help menu.
- Select Install New Software….
- Expand Work with:, then select the
GitLab Releases
software site. - Select Show only software applicable to target environment.
- Select the GitLab category to install the GitLab for Eclipse plugin and dependencies.
- Select Next >, then select Finish.
- Select Restart Now.
Connect to GitLab
After you install the extension, connect it to your GitLab account.
Create a personal access token
If you are on a GitLab Self-Managed instance, create a personal access token.
- In GitLab, on the left sidebar, select your avatar.
- Select Edit profile.
- On the left sidebar, select Access tokens.
- Select Add new token.
- Enter a name, description, and expiration date.
- Select the
api
scope. - Select Create personal access token.
Authenticate with GitLab
After you configure the plugin in your IDE, connect it to your GitLab account:
- In your IDE, select Eclipse > Settings….
- On the left sidebar, select GitLab.
- Provide the Connection URL. For GitLab.com, use
https://gitlab.com
. - For GitLab Personal Access Token, paste in the personal access token you created. The token is displayed while being entered for the first time. After applying, the token is not displayed and stored using the Eclipse secure storage.
- Under the GitLab settings, select Apply.
- Select Apply and Close.