با مجموعهها، منظم بمانید ذخیره و طبقهبندی محتوا براساس اولویتهای شما.
این سند نحوه راه اندازی Gemini Code Assist را برای افراد در VS Code یا IntelliJ شرح می دهد. کاربران سایر IDE های JetBrains پشتیبانی شده باید دستورالعمل های IntelliJ را هنگام تنظیم Gemini Code Assist دنبال کنند. شما مراحل زیر را در IDE خود انجام می دهید:
افزونه Gemini Code Assist را نصب کنید.
با حساب Google خود وارد شوید.
اعلامیه حریم خصوصی Gemini را بخوانید.
افزونه Gemini Code Assist را نصب کنید
برای نصب برنامه افزودنی Gemini Code Assist در IDE خود، مراحل زیر را دنبال کنید:
کد VS
برای باز کردن نمای Extensions در VS Code، کلیک کنید برنامه های افزودنی یا Ctrl / Cmd + Shift + X را فشار دهید.
Gemini Code Assist را جستجو کنید.
روی Install کلیک کنید.
اگر از شما خواسته شد، VS Code را مجددا راه اندازی کنید.
پس از نصب موفقیت آمیز برنامه افزودنی، Gemini Code Assist در نوار فعالیت ظاهر می شود و آماده استفاده است. میتوانید نصب Gemini Code Assist را با تعیین تنظیمات برگزیده خود با استفاده از نوار وظیفه برنامه سطح بالا پیکربندی کنید: به Code > Settings > Settings > Extensions بروید و Gemini Code Assist را جستجو کنید.
IntelliJ
settingsIDE و Project Settings > Plugins کلیک کنید.
در برگه Marketplace ، Gemini Code Assist را جستجو کنید.
برای نصب افزونه روی Install کلیک کنید.
پس از اتمام نصب، روی Restart IDE کلیک کنید.
هنگامی که IDE راه اندازی مجدد می شود، Gemini Code Assist در نوار فعالیت شما ظاهر می شود.
اکنون آماده هستید که به حساب Google خود وارد شوید و اعلامیه حریم خصوصی Gemini را در IDE خود بپذیرید.
وارد حساب Google شوید
در این بخش، با انجام مراحل زیر وارد حساب Google خود می شوید:
کد VS
اگر ترجیح میدهید کد با Gemini Code Assist را مستقیماً در IDE خود دنبال کنید، روی Launch VS Code کلیک کنید و مراحل موجود در دستورالعمل را دنبال کنید تا به حساب Google خود وارد شوید.
در نوار فعالیت، روی sparkGemini Code Assist کلیک کنید.
در پنجره Gemini Code Assist: Chat ، روی ورود به Google کلیک کنید.
وقتی از شما خواسته شد که به Gemini Code Assist اجازه دهید تا وبسایت خارجی را باز کند، روی Open کلیک کنید.
برای ورود به حساب Google خود، دستورات را دنبال کنید.
وقتی از شما پرسیده شد که Gemini Code Assist را از Google دانلود کردهاید، روی ورود به سیستم کلیک کنید.
اکنون به حساب Google خود متصل هستید.
Gemini Code Assist آماده استفاده است.
IntelliJ
برای ورود به حساب Google خود، این مراحل را دنبال کنید:
در نوار فعالیت، روی sparkGemini Code Assist کلیک کنید.
روی ورود به گوگل کلیک کنید.
در صفحه ای که در مرورگر وب باز می شود، حساب 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_horizMore کلیک کنید و سپس تنظیمات حریم خصوصی را انتخاب کنید.
در IDE خود، به settingsSettings > Extensions > Gemini Code Assist بروید.
در قسمت Gemini Code Assist تله متری ، می توانید انتخاب کنید که آیا آمار استفاده، مانند گزارش های خرابی، به گوگل ارسال شود یا خیر. آمار استفاده مشمول خط مشی رازداری Google است.
همچنین پیوندی به Gemini Code Assist برای اطلاعیه حریم خصوصی افراد و تنظیمات حریم خصوصی خواهید دید. این پیوند صفحهای را باز میکند که در آن میتوانید از اجازه دادن به Google برای استفاده از دادههای شما برای توسعه و بهبود مدلهای یادگیری ماشینی Google انصراف دهید. این تنظیمات حریم خصوصی در سطح IDE ذخیره می شوند.
IntelliJ
در ناودان IDE خود، روی spark Gemini Code Assist کلیک کنید و سپس تنظیمات حریم خصوصی را انتخاب کنید.
به settingsSettings > Settings > Gemini بروید.
در بخش مربوط به آمار استفاده از کد Gemini ، میتوانید انتخاب کنید که آیا آمار استفاده، مانند گزارشهای خرابی، به Google ارسال شود یا خیر. آمار استفاده مشمول خط مشی رازداری Google است.
همچنین پیوندی به Gemini Code Assist برای اطلاعیه حریم خصوصی افراد و تنظیمات حریم خصوصی خواهید دید. این پیوند صفحهای را باز میکند که در آن میتوانید از اجازه دادن به Google برای استفاده از دادههای شما برای توسعه و بهبود مدلهای یادگیری ماشینی Google انصراف دهید. این تنظیمات حریم خصوصی در سطح IDE ذخیره می شوند.
تاریخ آخرین بهروزرسانی 2025-08-16 بهوقت ساعت هماهنگ جهانی.
[[["درک آسان","easyToUnderstand","thumb-up"],["مشکلم را برطرف کرد","solvedMyProblem","thumb-up"],["غیره","otherUp","thumb-up"]],[["اطلاعاتی که نیاز دارم وجود ندارد","missingTheInformationINeed","thumb-down"],["بیشازحد پیچیده/ مراحل بسیار زیاد","tooComplicatedTooManySteps","thumb-down"],["قدیمی","outOfDate","thumb-down"],["مشکل ترجمه","translationIssue","thumb-down"],["مشکل کد / نمونهها","samplesCodeIssue","thumb-down"],["غیره","otherDown","thumb-down"]],["تاریخ آخرین بهروزرسانی 2025-08-16 بهوقت ساعت هماهنگ جهانی."],[[["\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,["| **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 and\n[other supported JetBrains IDEs](/gemini-code-assist/docs/supported-languages#supported_ides).\nYou 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\nTo install the Gemini Code Assist extension in your IDE, follow\nthese steps: \n\nVS 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\nIntelliJ\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\nIn this section, you sign in to your Google Account by following these steps: \n\nVS 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\nIntelliJ\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\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\nVS 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\nIntelliJ\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)."]]