Please check gitlab-tutorial

Skip to content

GitLab Workflow extension settings and commands

Command Palette commands

In VS Code, trigger these commands from the Command Palette.

Command integrations

This extension also integrates with these commands:

  • Git: Clone: Search for and clone projects for every GitLab instance you set up. For more information, see:
  • Git: Add Remote...: Add existing projects as remotes from every GitLab instance you set up.

Extension settings

To learn how to change settings in VS Code, see the VS Code documentation for User and Workspace Settings.

If you use self-signed certificates to connect to your GitLab instance, read the community-contributed settings for self-signed certificates.

Setting Default Information
gitlab.customQueries Not applicable Defines the search queries that retrieves the items shown on the GitLab Panel. For more information, see Custom Queries documentation.
gitlab.debug false Set to true to enable debug mode. Debug mode improves error stack traces because the extension uses source maps to understand minified code. Debug mode also shows debug log messages in the extension logs.
gitlab.duo.enabledWithoutGitlabProject true Set to true to keep GitLab Duo features enabled if the extension can't retrieve the project's duoFeaturesEnabledForProject setting. When false, all GitLab Duo features are disabled if the extension can't retrieve the project's duoFeaturesEnabledForProject setting. See duoFeaturesEnabledForProject setting.
gitlab.duoCodeSuggestions.additionalLanguages Not applicable (Experimental.) To expand the list of officially supported languages for Code Suggestions, provide an array of the language identifiers. Code suggestions quality for the added languages might not be optimal.
gitlab.duoCodeSuggestions.enabled true Toggle to enable or disable AI-assisted code suggestions.
gitlab.duoCodeSuggestions.enabledSupportedLanguages Not applicable The supported languages for which to enable Code Suggestions. By default, all supported languages are enabled.
gitlab.duoCodeSuggestions.openTabsContext true Toggle to enable or disable sending of context across open tabs to improve Code Suggestions.
gitlab.pipelineGitRemoteName null The name of the Git remote name corresponding to the GitLab repository with your pipelines. If set to null or missing, then the extension uses the same remote as for the non-pipeline features.
gitlab.showPipelineUpdateNotifications false Set to true to show an alert when a pipeline completes.

duoFeaturesEnabledForProject

The duoFeaturesEnabledForProject setting is unavailable if:

  • The project is not set up in the extension.
  • The project is on a different GitLab instance than your current account.
  • The file or folder you are working with isn't part of any GitLab project you have access to.