Оптимизируйте свои подборки
Сохраняйте и классифицируйте контент в соответствии со своими настройками.
В этом документе описывается настройка Gemini Code Assist для пользователей VS Code или IntelliJ. Пользователям других поддерживаемых JetBrains IDE следует следовать инструкциям IntelliJ при настройке Gemini Code Assist. В вашей IDE выполните следующие действия:
Установите расширение Gemini Code Assist.
Войдите в систему, используя свою учетную запись Google.
Ознакомьтесь с Уведомлением о конфиденциальности Gemini.
Установите расширение Gemini Code Assist
Чтобы установить расширение Gemini Code Assist в вашу IDE, выполните следующие действия:
VS Код
Чтобы открыть представление «Расширения» в VS Code, щелкните Расширения или нажмите Ctrl / Cmd + Shift + X
Найдите Gemini Code Assist .
Нажмите «Установить» .
При появлении соответствующего запроса перезапустите VS Code.
После успешной установки расширения Gemini Code Assist появится на панели задач и будет готов к использованию. Вы можете настроить установку Gemini Code Assist, указав свои параметры на панели задач верхнего уровня: перейдите в раздел «Код» > «Настройки» > «Настройки» > «Расширения» и найдите Gemini Code Assist .
IntelliJ
Нажмите settingsIDE и Настройки проекта > Плагины .
На вкладке «Маркетплейс» найдите Gemini Code Assist .
Нажмите «Установить» , чтобы установить плагин.
После завершения установки нажмите кнопку «Перезапустить IDE» .
После перезапуска IDE на панели действий появится Gemini Code Assist.
Теперь вы готовы войти в свою учетную запись Google и принять Уведомление о конфиденциальности Gemini в своей IDE.
Войдите в аккаунт Google
В этом разделе вы войдете в свою учетную запись Google, выполнив следующие действия:
VS Код
Если вы предпочитаете следовать пошаговому руководству по написанию кода с помощью Gemini Code Assist непосредственно в вашей IDE, нажмите «Запустить VS Code» и следуйте инструкциям пошагового руководства, чтобы войти в свою учетную запись Google.
На панели действий нажмите sparkGemini Code Assist .
В окне Gemini Code Assist: Chat нажмите Войти в Google .
При появлении запроса на разрешение Gemini Code Assist открыть внешний веб-сайт нажмите «Открыть» .
Следуйте инструкциям, чтобы войти в свою учетную запись Google.
На вопрос, загрузили ли вы Gemini Code Assist с сайта Google, нажмите « Войти» .
Теперь вы подключены к своей учетной записи Google.
Gemini Code Assist готов к использованию.
IntelliJ
Чтобы войти в свою учетную запись Google, выполните следующие действия:
На панели действий нажмите sparkGemini Code Assist .
Нажмите Войти в Google .
На открывшейся странице веб-браузера выберите свою учетную запись Google.
На экране, на котором вам будет предложено убедиться, что вы загрузили это приложение из Google, нажмите кнопку Войти .
Теперь Gemini Code Assist имеет право доступа к вашей учетной записи.
Теперь, когда вы вошли в свою учетную запись Google, вы можете прочитать и закрыть Уведомление о конфиденциальности Gemini в своей IDE.
Ознакомьтесь с уведомлением о конфиденциальности Gemini Code Assist для физических лиц.
После установки Gemini Code Assist и успешного входа в Gemini Code Assist для частных лиц (бесплатную версию Gemini Code Assist) на панели чата расширения Gemini Code Assist появится уведомление о конфиденциальности. Рекомендуем вам ознакомиться с ним , чтобы понять, как Google обрабатывает ваши данные в VS Code или IntelliJ.
Если вы используете Gemini Code Assist для частных лиц, вы можете в любое время просмотреть или обновить свои настройки конфиденциальности.
Уведомление о конфиденциальности и настройки Gemini Code Assist для физических лиц можно найти двумя способами:
VS Код
На панели чата Gemini Code Assist нажмите more_horizЕще , а затем выберите Настройки конфиденциальности .
В вашей IDE перейдите в settingsНастройки > Расширения > Gemini Code Assist .
В разделе телеметрии Gemini Code Assist вы можете выбрать, отправлять ли в Google статистику использования, например, отчёты о сбоях. На статистику использования распространяется политика конфиденциальности Google .
Вы также увидите ссылку на уведомление о конфиденциальности Gemini Code Assist для частных лиц и настройки конфиденциальности. Эта ссылка открывает страницу, на которой вы можете отказаться от использования ваших данных Google для разработки и улучшения моделей машинного обучения. Эти настройки конфиденциальности хранятся на уровне IDE.
IntelliJ
В нижней части IDE нажмите spark Gemini Code Assist, а затем выберите Параметры конфиденциальности .
Перейдите в settingsНастройки > Настройки > Gemini .
В разделе «Статистика использования Gemini Code» вы можете выбрать, отправлять ли в Google статистику использования, например, отчёты о сбоях. На статистику использования распространяется политика конфиденциальности Google .
Вы также увидите ссылку на уведомление о конфиденциальности Gemini Code Assist для частных лиц и настройки конфиденциальности. Эта ссылка открывает страницу, на которой вы можете отказаться от использования ваших данных Google для разработки и улучшения моделей машинного обучения. Эти настройки конфиденциальности хранятся на уровне IDE.
[null,null,["Последнее обновление: 2025-08-30 UTC."],[[["\u003cp\u003eNew Gemini Code Assist customers without prior subscriptions receive credits for up to 50 free licenses in their first month.\u003c/p\u003e\n"],["\u003cp\u003eGemini Code Assist Enterprise is available for a promotional price of $19 per month per user with a 12-month commitment until March 31, 2025.\u003c/p\u003e\n"],["\u003cp\u003eSetting up Gemini Code Assist in VS Code or IntelliJ involves installing the extension, signing in with a Google Account, and reading the Gemini Privacy Notice.\u003c/p\u003e\n"],["\u003cp\u003eTo install the extension, users need to search for "Gemini Code Assist" in the Extensions or Marketplace section of their IDE and then restart their IDE after installation.\u003c/p\u003e\n"],["\u003cp\u003eSigning into a Google Account to use Gemini Code Assist can be done by clicking "Login to Google" or "Log in to Google" within the Gemini Code Assist chat window in the IDE.\u003c/p\u003e\n"]]],[],null,["# Set up Gemini Code Assist for individuals\n\n| **Note:** If you're at a business or would like more team-level benefits, consider [Gemini Code Assist Standard or Enterprise](/gemini-code-assist/docs/set-up-gemini-standard-enterprise).\n\nThis document describes how to set up Gemini Code Assist for\nindividuals in VS Code or IntelliJ. Users of\n[other supported JetBrains IDEs](/gemini-code-assist/docs/supported-languages#supported_ides)\nshould follow the IntelliJ instructions when setting up\nGemini Code Assist. You perform the following steps in your IDE:\n\n- Install the Gemini Code Assist extension.\n- Sign in with your Google Account.\n- Read the Gemini Privacy Notice.\n\nInstall the Gemini Code Assist extension\n----------------------------------------\n\nTo install the Gemini Code Assist extension in your IDE, follow\nthese steps: \n\n### VS Code\n\n1. To open the **Extensions** view in VS Code, click\n\n **Extensions** or press `Ctrl`/`Cmd`+`Shift`+`X`.\n\n2. Search for `Gemini Code Assist`.\n\n3. Click **Install**.\n\n4. If prompted, restart VS Code.\n\n After the extension has successfully installed,\n Gemini Code Assist appears in the activity bar and is\n ready for use. You can further configure your\n Gemini Code Assist installation by specifying your\n preferences using the top-level application taskbar: navigate to\n **Code** \\\u003e **Settings** \\\u003e **Settings**\n \\\u003e **Extensions** and search for `Gemini Code Assist`.\n\n### IntelliJ\n\n1. Click settings **IDE\n and Project Settings** \\\u003e **Plugins**.\n2. In the **Marketplace** tab, search for `Gemini Code Assist`.\n3. Click **Install** to install the plugin.\n4. When the installation is finished, click **Restart IDE**.\n5. When the IDE restarts, Gemini Code Assist appears in your\n activity bar.\n\nNow you're ready to sign in to your Google Account and accept the\nGemini Privacy Notice in your IDE.\n\nSign in to Google Account\n-------------------------\n\nIn this section, you sign in to your Google Account by following these steps: \n\n### VS Code\n\nIf you prefer to follow the **Code with\nGemini Code Assist**\nwalkthrough directly in your IDE, click **Launch VS Code** and follow the\nsteps in the walkthrough to sign in to your Google Account.\n\n[Launch VS Code](vscode://googlecloudtools.cloudcode/cloudcode.openWalkthrough?id=duet-ai)\n\nOtherwise, follow these steps:\n\n1. Launch your IDE.\n\n2. In the activity bar, click\n spark**Gemini Code\n Assist**.\n\n3. In the **Gemini Code Assist: Chat** window, click **Login to Google**.\n\n4. When prompted to allow Gemini Code Assist to open the\n external website, click **Open**.\n\n5. Follow the prompts to sign in to your Google Account.\n\n6. When asked if you downloaded Gemini Code Assist from\n Google, click **Sign In**.\n\n | **Note:** If your sign-in attempts keep timing out, see the **Sign-in attempts keep timing out** issue in [Known issues](/gemini-code-assist/docs/write-code-gemini#known_issues) for more information on troubleshooting.\n\n You're now connected to your Google Account.\n\n Gemini Code Assist is ready to use.\n\n### IntelliJ\n\nTo sign in to your Google Account, follow these steps:\n\n1. In the activity bar, click\n spark **Gemini Code\n Assist**.\n\n2. Click **Log in to Google**.\n\n3. On the page that opens in the web browser, select your Google Account.\n\n4. On the screen that asks you to make sure that you downloaded this app\n from Google, click **Sign in**.\n\n Gemini Code Assist is now authorized to access your\n account.\n\nNow that you're signed in to your Google Account, you can read and dismiss the\nGemini Privacy Notice in your IDE.\n\nReview the Gemini Code Assist for individuals privacy notice\n------------------------------------------------------------\n\nAfter you've installed Gemini Code Assist and successfully signed\ninto Gemini Code Assist for individuals, the free version of\nGemini Code Assist, you'll see a privacy notice appear in the\nchat panel in the Gemini Code Assist extension. We encourage you\nto [read the privacy notice](/gemini-code-assist/resources/privacy-notice-gemini-code-assist-individuals) to understand how Google handles\nyour data in VS Code or IntelliJ.\n\nIf you're using Gemini Code Assist for individuals, you can view\nor update your privacy settings at any time.\n\nYou can find the Gemini Code Assist for individuals privacy\nnotice and settings in two ways: \n\n### VS Code\n\n- In the Gemini Code Assist chat pane, click\n more_horiz **More** and then select\n **Privacy settings**.\n\n- In your IDE, navigate to\n settings **Settings**\n \\\u003e **Extensions** \\\u003e **Gemini Code Assist**.\n\n In the **Gemini Code Assist telemetry** section, you can select whether or\n not to send usage statistics, such as crash reports, to Google. Usage\n statistics are subject to the\n [Google privacy policy](https://policies.google.com/privacy).\n\n You'll also see a link to the [Gemini Code Assist for\n individuals privacy notice](/gemini-code-assist/resources/privacy-notice-gemini-code-assist-individuals)\n and privacy settings. This link opens a page where you can choose to opt\n out of allowing Google to use your data to develop and improve Google's\n machine learning models. These privacy settings are stored at the IDE\n level.\n | **Note:** If you're using Gemini Code Assist Standard and Enterprise editions, the Gemini Code Assist for individuals privacy notice doesn't apply to you, since with these editions you're always opted out of sharing your data to develop and improve Google's machine learning models.\n\n### IntelliJ\n\n- In the gutter of your IDE, click\n spark\n Gemini Code Assist, and then select **Privacy settings**.\n\n- Navigate to settings\n **Settings** \\\u003e **Settings** \\\u003e **Gemini**.\n\n In the section about **Gemini Code Usage Statistics** , you can select\n whether or not to send usage statistics, such as crash reports, to Google.\n Usage statistics are subject to the\n [Google privacy policy](https://policies.google.com/privacy).\n\n You'll also see a link to the [Gemini Code Assist for\n individuals privacy notice](/gemini-code-assist/resources/privacy-notice-gemini-code-assist-individuals)\n and privacy settings. This link opens a page where you can choose to opt\n out of allowing Google to use your data to develop and improve Google's\n machine learning models. These privacy settings are stored at the IDE\n level.\n | **Note:** If you're using Gemini Code Assist Standard and Enterprise editions, the Gemini Code Assist for individuals privacy notice doesn't apply to you, since with these editions you're always opted out of sharing your data to develop and improve Google's machine learning models.\n\nNow you're ready to use Gemini Code Assist in your IDE. To get\nstarted, see\n[Code with Gemini Code Assist](/gemini-code-assist/docs/write-code-gemini)\nand [Chat with Gemini Code Assist](/gemini-code-assist/docs/chat-gemini)."]]