- Enable experimental or beta features
- Integrate with 1Password CLI
- Report issues with the plugin
- Related topics
GitLab plugin for JetBrains IDEs
The GitLab Duo plugin integrates GitLab Duo with JetBrains IDEs like IntelliJ, PyCharm, GoLand, Webstorm, and Rubymine.
Install and configure the extension.
Enable experimental or beta features
Some features in the plugin are in experiment or beta status. To use them, you must opt in:
- Go to your IDE’s top menu bar and select Settings, or:
- MacOS: press ⌘+,
- Windows or Linux: press Control+Alt+S
- On the left sidebar, expand Tools, then select GitLab Duo.
- Select Enable Experiment or BETA features.
- To apply the changes, restart your IDE.
Integrate with 1Password CLI
- Introduced in GitLab Duo 2.1 for GitLab 16.11 and later.
You can configure the plugin to use 1Password secret references for authentication, instead of hard-coding personal access tokens.
Prerequisites:
- You have the 1Password desktop app installed.
- You have the 1Password CLI tool installed.
To integrate GitLab for JetBrains with the 1Password CLI:
- Authenticate with GitLab. Either:
-
Install the
glab
CLI and configure the 1Password shell plugin. - Follow the GitLab for JetBrains steps.
-
Install the
- Open the 1Password item.
-
If you use the
gitlab
1Password shell plugin, the token is stored as a password under"op://Private/GitLab Personal Access Token/token"
.
From the IDE:
- Go to your IDE’s top menu bar and select Settings.
- On the left sidebar, expand Tools, then select GitLab Duo.
- Under Authentication, select the 1Password CLI tab.
- Select Integrate with 1Password CLI.
- Optional. For Secret reference, paste the secret reference you copied from 1Password.
- Optional. To verify your credentials, select Verify setup.
- Select OK or Save.
Report issues with the plugin
You can report any issues, bugs, or feature requests in the
gitlab-jetbrains-plugin
issue queue.
Use the Bug
or Feature Proposal
template.
If you encounter an error while using GitLab Duo, you can also report it with your IDE’s built-in error reporting tool:
- To access the tool, either:
- When an error occurs, in the error message, select See details and submit report.
- In the status bar, on the bottom right, select the exclamation mark.
- In the IDE Internal Errors dialog, describe the error.
- Select Report and clear all.
- Your browser opens a GitLab issue form, pre-populated with debug information.
- Follow the prompts in the issue template to fill out the description, providing as much context as you can.
- Select Create issue to file the bug report.