קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
במסמך הזה נסביר איך לקבל עזרה מבוססת-AI בצ'אט של Gemini Code Assist בסביבת הפיתוח המשולבת (IDE).
בצ'אט של Gemini Code Assist אפשר לכתוב הצהרות או שאלות בשפה טבעית (שנקראות הנחיות) כדי לקבל הסברים מעמיקים על הקוד, הצעות לפעולות או תהליכי עבודה מודרכים שיעזרו לכם להשלים משימות במהירות וביעילות בלי לצאת מסביבת הפיתוח המשולבת (IDE).
כדי לפתוח את הצ'אט של Gemini Code Assist בסביבת הפיתוח המשולבת:
VS Code
בסרגל הפעילות של סביבת הפיתוח המשולבת, לוחצים על sparkGemini Code Assist.
בצ'אט של Gemini Code Assist, מזינים הנחיה ולוחצים על sendSend.
IntelliJ
בחלון הכלי של Gemini Code Assist, מזינים הנחיה ולוחצים על שליחה.
הצגת היסטוריית השאילתות
VS Code
היסטוריית השאילתות לא זמינה ב-VS Code.
IntelliJ
אם רוצים להשתמש שוב בהנחיות הקודמות, אפשר למצוא אותן בהיסטוריית השאילתות בחלון הכלי Gemini Code Assist. לשם כך, לוחצים על תזמוןהצגת היסטוריית השאילתות.
איפוס היסטוריית הצ'אט
כדי לענות להנחיות שלכם, התכונה Gemini Code Assist משתמשת בהיסטוריית הצ'אט כרקע נוסף. אם היסטוריית הצ'אט כבר לא רלוונטית למטרה שלכם, תוכלו לאפס את היסטוריית הצ'אט:
VS Code
בחלונית Gemini Code Assist, לוחצים על deleteReset Chat.
IntelliJ
בחלון הכלי של Gemini Code Assist, לוחצים על deleteClear Conversation History. הפעולה הזו תגרום גם למחיקה של היסטוריית השאילתות.
[[["התוכן קל להבנה","easyToUnderstand","thumb-up"],["התוכן עזר לי לפתור בעיה","solvedMyProblem","thumb-up"],["סיבה אחרת","otherUp","thumb-up"]],[["התוכן קשה להבנה","hardToUnderstand","thumb-down"],["שגיאות בקוד לדוגמה או במידע","incorrectInformationOrSampleCode","thumb-down"],["חסרים לי פרטים או דוגמאות","missingTheInformationSamplesINeed","thumb-down"],["בעיה בתרגום","translationIssue","thumb-down"],["סיבה אחרת","otherDown","thumb-down"]],["עדכון אחרון: 2025-06-11 (שעון UTC)."],[],[],null,["# Use the Gemini Code Assist chat\n\n\u003cbr /\u003e\n\nThis document describes how to get AI-powered assistance in the\n[Gemini Code Assist](/gemini/docs/codeassist/overview) chat in your integrated\ndevelopment environment (IDE).\n\nGemini Code Assist chat lets you write natural language statements\nor questions (called *prompts*) to get in-depth explanations of your code,\nsuggested actions, or guided workflows that help you complete tasks quickly and\nefficiently without leaving the IDE.\n\nLearn [how and when Gemini\nfor Google Cloud uses your data](/gemini/docs/discover/data-governance).\n\nOpen Gemini Code Assist chat\n----------------------------\n\nTo open Gemini Code Assist chat in the IDE: \n\n### VS Code\n\n1. In the activity bar of your IDE, click\n spark\n **Gemini Code Assist**.\n\n2. In the **Gemini Code Assist** chat, enter a prompt and then click\n send\n **Send**.\n\n### IntelliJ\n\nIn the Gemini Code Assist tool window, enter a prompt and\nthen click **Submit**.\n\nView query history\n------------------\n\n### VS Code\n\nQuery history isn't available for VS Code.\n\n### IntelliJ\n\nIf you want to re-use your previous prompts, you can find them in your\n**Query History** in the **Gemini Code Assist** tool window by clicking\nschedule **Show Query History**.\n\nClear chat history\n------------------\n\nGemini Code Assist uses the chat history for additional context\nwhen responding to your prompts. If your chat history is no longer relevant to\nwhat you're trying to achieve, you can clear the chat history: \n\n### VS Code\n\n1. In the **Gemini Code Assist** pane, click\n history **Resume\n Previous Chat**.\n\n2. When the previous chats appear in the **Select chat** menu, hold your\n pointer over the chat that you want to clear, and select **Delete**.\n\n | **Note:** Your chat threads persist across IDE sessions until you clear your history.\n3. When prompted to confirm the deletion of the chat thread, select\n **Delete**.\n\n### IntelliJ\n\nIn the **Gemini Code Assist** tool window, click\ndelete **Clear\nConversation History**. This also clears your query history.\n\n| **Note:** Your query and conversation history persist across IDE sessions until you clear the history.\n\nWhat's next\n-----------\n\nFor more information on using Gemini Code Assist in the IDE, see [Code with Gemini Code Assist](/gemini/docs/codeassist/write-code-gemini)."]]