GitLab’s Code Suggestions logo

GitLab’s Code Suggestions

AI code completion and test generation for 14+ languages—private, GitLab‑native, and in your IDE.

Other· 4.5·0 saves·Freemium

Quick facts

Best for
AI code completion and test generation for 14+ languages—private, GitLab‑native, and in your IDE.
Pricing
Freemium
Editor rating
4.5 / 5
Community saves
0

About GitLab’s Code Suggestions

GitLab Code Suggestions is an AI-powered feature of the GitLab DevSecOps platform that accelerates software delivery by providing predictive code completion, function logic generation, unit test creation, and suggestions for common patterns like regex—directly in your IDE. Supporting 14+ languages (including Python, JavaScript, Java, and Rust) and integrating with GitLab Web IDE, VS Code, Visual Studio, JetBrains IDEs, and NeoVim, it boosts productivity without context switching. Built with a privacy-first approach that does not use private, non‑public customer code for training and available for both GitLab.com and self-managed instances via a secure connection, Code Suggestions is part of the GitLab Duo portfolio designed to keep developers in flow.

Pros

  • Predictive code completion to keep developers in flow
  • Function logic generation for faster implementation
  • Automated unit test generation for supported languages
  • Suggestions for common code patterns (e.g., regex)
  • Support for 14+ languages: C++, C#, Go, Google SQL, Java, JavaScript, Kotlin, PHP, Python, Ruby, Rust, Scala, Swift, TypeScript
  • Integrations with GitLab Web IDE, VS Code, Visual Studio, JetBrains IDEs, and NeoVim
  • Privacy-first design—private, non-public customer code is not used for training
  • Available to self-managed GitLab instances via secure connection to GitLab.com
  • Continuous quality improvements via prompt engineering, intelligent model routing, and expanded inference contexts
  • In-environment development that eliminates context switching
  • Part of the GitLab Duo portfolio (e.g., Code Suggestions and Chat)
  • Single-keystroke acceptance of suggestions (Tab)

Cons

    Pricing

    Free (Beta) on GitLab.com
    $0
    • Code Suggestions available for all users while the feature is in Beta
    Premium (Beta access)
    $0
    • Code Suggestions is free during Beta for all Premium customers
    Ultimate (Beta access)
    $0
    • Code Suggestions is free during Beta for all Ultimate customers
    • Initially available to select Ultimate customers in a closed beta
    Self-Managed Instances
    $0
    • Code Suggestions available to self-managed GitLab instances via a secure connection to GitLab.com
    GitLab Duo Pro (package)
    $0
    • Combines Code Suggestions, Chat, and organizational control capabilities
    • No public pricing provided in available sources