Organiza tus páginas con colecciones
Guarda y categoriza el contenido según tus preferencias.
En este documento, se describe cómo obtener asistencia
potenciada por IA en el chat de Gemini Code Assist
en tu entorno de desarrollo integrado (IDE).
El chat de Gemini Code Assist te permite escribir afirmaciones
o preguntas en lenguaje natural (llamadas instrucciones) para obtener explicaciones detalladas de tu código,
acciones sugeridas o flujos de trabajo guiados que te ayudan a completar tareas
con rapidez y de manera eficiente sin salir del IDE.
Para abrir el chat de Gemini Code Assist en el IDE, haz lo siguiente:
VS Code
En la barra de actividades del IDE, haz clic en
sparkGemini Code Assist.
En el chat de Gemini Code Assist, ingresa una instrucción y, luego,
haz clic en sendEnviar.
IntelliJ
En la ventana de herramientas de Gemini Code Assist, ingresa una instrucción
y, luego, haz clic en Enviar.
Mira el historial de consultas
VS Code
El historial de consultas no está disponible para VS Code.
IntelliJ
Si quieres volver a usar tus instrucciones anteriores, puedes encontrarlas
en tu Historial de consultas (Query History) en la ventana de herramientas de Gemini Code Assist.
Para ello, haz clic en ProgramarMostrar historial de consultas.
Borrar historial de chat
Gemini Code Assist usa el historial de chat para obtener contexto adicional
cuando responde a tus instrucciones. Si tu historial de chat ya no es pertinente
para lo que intentas lograr, puedes borrarlo:
VS Code
En el panel de Gemini Code Assist, haz clic en
historyReanudar
chat anterior.
Cuando aparezcan los chats anteriores en el menú Seleccionar chat, mantén el puntero sobre el chat que quieras borrar y selecciona Borrar.
Cuando se te solicite confirmar la eliminación del hilo de chat, selecciona Borrar.
IntelliJ
En la ventana de herramientas de Gemini Code Assist, haz clic en
deleteBorrar
historial de conversaciones. Esto también borra tu historial de consultas.
[null,null,["Última actualización: 2025-08-31 (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-code-assist/docs/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[Learn how Gemini Code Assist for individuals uses your data](/gemini-code-assist/resources/privacy-notice-gemini-code-assist-individuals).\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-code-assist/docs/write-code-gemini)."]]