Code Suggestion - Closed Beta Customer Feedback
Feedback moving forward
We are no longer in closed beta of Code Suggestions, we have two feedback issues to use moving forward:
- Customer Feedback: #405152 (closed)
- Internal Feedback: https://gitlab.com/gitlab-org/modelops/applied-ml/code-suggestions/ai-assist/-/issues/9
Historical content
Overview
The GitLab VSCode extension is responsible for code auto-completion at a given user's prompt. Depending on the prompt, the extension provides entire code snippets like generating functions or completes the current line. And by simply pressing the tab key you accept the suggestions. The extension provides code completions in a target file without analyzing file extensions and other files in the repo.
You can see this experience for yourself with this short demo video: https://youtu.be/WnxBYxN2-p4
CLOSED BETA access program for this feature for select Ultimate customers and for Gitlab Internal User. Following the below steps will NOT work without a feature flag enabled for your account on GitLab.com for external customers. Fill out this form to be considered for early access.
GitLab is currently running aInternal GitLab users don't need to fill out the form follow the steps and happy testing.
How to get started, if you have been granted beta access.
Here is a video: https://youtu.be/AbSXKj6znXM
- Download VS Code
- In the left sidebar click "extensions" and type "gitlab"
- Install the official GitLab workflow extension
- Add your GitLab work account to the VS Code extension: shift + cmd + p >GitLab: Add Account to VS Code
- Fill in the GitLab instance URL (there is one by default)
- Fill in your personal access token. I generate my one with
read_api
,read_user
scopes - After your account has been successfully added, click again on "extensions" in the left sidebar and find the "GitLab workflow" extension again
- Click the "Settings" gear for that entry.
- Enable "Gitlab › Ai Assisted Code Suggestions"
- Create a GitLab project and test
Languages Currently supported with highest confidence
- Python
- C
- C++
- Java
- JavaScript
- Go
You can learn more about our plans here: https://about.gitlab.com/direction/modelops/ai_assisted/code_suggestions/ and read the documentation for this feature here: https://docs.gitlab.com/ee/user/project/repository/vscode.html#code-suggestions-closed-beta