GitLab Workflow extension settings and commands

Command Palette commands

This extension provides several sets of commands that you can trigger in the Command Palette:

Manage projects and code

Manage issues and merge requests

Manage CI/CD pipelines

AI-assisted features

  • GitLab: Restart GitLab Language Server
  • GitLab: Show Duo Workflow
  • GitLab: Toggle Code Suggestions
  • GitLab: Toggle Code Suggestions for current language

Other features

  • GitLab: Apply Snippet Patch
  • GitLab: Clone Wiki
  • GitLab: Create Snippet: Create a public, internal, or private snippet from an entire file or selection.
  • GitLab: Create Snippet Patch: Create a .patch file from the entire file, or a selection.
  • GitLab: Insert Snippet: Insert a single-file or multi-file project snippet.
  • GitLab: Publish Workspace to GitLab
  • GitLab: Refresh Sidebar
  • GitLab: Show Extension Logs
  • GitLab: View Security Finding Details
  • GitLab Workflow: Focus on For current branch View
  • GitLab Workflow: Focus on Issues and Merge Requests View

Command integrations

This extension also integrates with some commands provided by VS Code:

  • 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.