filmov
tv
GitLab Code Suggestions: Code Completion vs Code Generation (Demo)

Показать описание
This is a short video demonstrating the difference between Code Completion and Code Generation.
Code completion suggests completions to the line you are typing and is used in most situations to quickly complete one or a few lines of code.
Code generation generates code based on a natural language code comment block.
Prerequisites:
1. You must have one of the supported IDE extensions (i.e. VS Code, GitLab Web IDE, JetBrains IDE, etc.).
2. Your organization must have purchased the GitLab Duo Pro add-on and assigned you a seat.
3. For self-managed GitLab, you must have GitLab 16.8 or later, and have configured proxy settings.
Code completion suggests completions to the line you are typing and is used in most situations to quickly complete one or a few lines of code.
Code generation generates code based on a natural language code comment block.
Prerequisites:
1. You must have one of the supported IDE extensions (i.e. VS Code, GitLab Web IDE, JetBrains IDE, etc.).
2. Your organization must have purchased the GitLab Duo Pro add-on and assigned you a seat.
3. For self-managed GitLab, you must have GitLab 16.8 or later, and have configured proxy settings.