Skip to content
代码片段 群组 项目
代码所有者
将用户和群组指定为特定文件更改的核准人。 了解更多。
stage: Create
group: Code Creation
info: To determine the technical writer assigned to the Stage/Group associated with this page, see https://about.gitlab.com/handbook/product/ux/technical-writing/#assignments

Code Suggestions on GitLab SaaS (FREE SAAS BETA)

  • Introduced in GitLab 15.9 as Beta for early access Ultimate customers on GitLab.com.
  • Enabled as opt-in with GitLab 15.11 as Beta.
  • Moved from GitLab Ultimate to GitLab Premium in 16.0.
  • Moved from GitLab Premium to GitLab Free in 16.0.
  • Enabled by default in GitLab 16.1.

Write code more efficiently by using generative AI to suggest code while you're developing.

Usage of GitLab Duo Code Suggestions is governed by the GitLab Testing Agreement. Learn about data usage when using Code Suggestions.

Enable Code Suggestions

Introduced in GitLab 16.1 as Beta.

You must enable Code Suggestions for both your user account and your top-level group:

NOTE: If you are having issues enabling Code Suggestions, view the troubleshooting guide.

Use Code Suggestions

Prerequisites:

Use Code Suggestions.