diff options
Diffstat (limited to 'doc/development/code_suggestions/index.md')
-rw-r--r-- | doc/development/code_suggestions/index.md | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/doc/development/code_suggestions/index.md b/doc/development/code_suggestions/index.md index 38fd6200ace..743d06c2b4c 100644 --- a/doc/development/code_suggestions/index.md +++ b/doc/development/code_suggestions/index.md @@ -10,7 +10,7 @@ info: To determine the technical writer assigned to the Stage/Group associated w The recommended setup for locally developing and debugging Code Suggestions is to have all 3 different components running: -- IDE Extension (e.g. VSCode Extension) +- IDE Extension (e.g. VS Code Extension) - Main application configured correctly - [Model gateway](https://gitlab.com/gitlab-org/modelops/applied-ml/code-suggestions/ai-assist) @@ -20,7 +20,7 @@ This should enable everyone to see locally any change in an IDE being sent to th 1. Install and run locally the [VSCode Extension](https://gitlab.com/gitlab-org/gitlab-vscode-extension/-/blob/main/CONTRIBUTING.md#configuring-development-environment) 1. Add the ```"gitlab.debug": true,``` info to the Code Suggestions development config - 1. In VSCode navigate to the Extensions page and find "GitLab Workflow" in the list + 1. In VS Code navigate to the Extensions page and find "GitLab Workflow" in the list 1. Open the extension settings by clicking a small cog icon and select "Extension Settings" option 1. Check a "GitLab: Debug" checkbox. 1. Main Application @@ -43,14 +43,14 @@ When testing interactions with the Model Gateway, you might want to integrate yo with the deployed staging Model Gateway. To do this: 1. You need a [cloud staging license](../../user/project/repository/code_suggestions/self_managed.md#update-gitlab) that has the Code Suggestions add-on, because add-ons are enabled on staging. Drop a note in the `#s_fulfillment` internal Slack channel to request an add-on to your license. See this [handbook page](https://about.gitlab.com/handbook/developer-onboarding/#working-on-gitlab-ee-developer-licenses) for how to request a license for local development. -1. Set env variables to point customers-dot to staging, and the Model Gateway to staging: - +1. Set environment variables to point customers-dot to staging, and the Model Gateway to staging: + ```shell export GITLAB_LICENSE_MODE=test export CUSTOMER_PORTAL_URL=https://customers.staging.gitlab.com export CODE_SUGGESTIONS_BASE_URL=https://codesuggestions.staging.gitlab.com ``` - + 1. Restart the GDK. 1. Ensure you followed the necessary [steps to enable the Code Suggestions feature](../../user/project/repository/code_suggestions/self_managed.md#gitlab-163-and-later). 1. Test out the Code Suggestions feature by opening the Web IDE for a project. |