Code Suggestions

AI-generated code completion and generation within IDEs

Overview

Code Suggestions is one of the main features developed by the AI Coding group. It provides AI-generated code within IDEs through two main capabilities:

  • Code Completion: Short AI-generated suggestions intended to complete an existing line or block of code
  • Code Generation: Longer AI-generated suggestions intended to create entire functions, classes, code blocks, etc.

Contact Us

Category Name
Group Slack Channel #g_ai_coding
Code Suggestions Channel #f_code-suggestions

Key Concepts

A lot of the terms we use in this area sound similar and can be confusing at first. Here are the basic terms we use:

  • Code Suggestions: A feature within AI Coding that provides AI-generated code within an IDE
    • Code Completion: A short AI-generated suggestion intended to complete an existing line or block of code
    • Code Generation: A longer AI-generated suggestion intended to create entire functions, classes, code blocks, etc.
  • Duo Chat: Another feature that interacts with GitLab Duo Chat to write new code, refactor existing code, or scan code for vulnerabilities

If it helps, here are these terms in a diagram:

stateDiagram
    direction LR

    state "AI Coding" as aicoding
    state "Code Suggestions" as suggestions
    state "Code Completion" as completion
    state "Code Generation" as generation
    state "Duo Chat Features" as duo

    aicoding --> suggestions
    aicoding --> duo
    suggestions --> completion
    suggestions --> generation

Technical Implementation

For detailed technical information about how Code Suggestions works, including architecture diagrams and API details, see the Engineering Overview.

Dashboards and Monitoring

Documentation


Development Guide
Development guidelines for engineers working on Code Suggestions features
Engineering Overview
Technical and engineering overview of the Code Suggestions feature
Last modified December 17, 2025: Update new slack channels (bcae7448)