To help you comply with any license requirements for your code,
Gemini Code Assist provides source citations when its suggestions
directly quote at length from a specific source. To learn more about how and
when Gemini cites sources, see
How Gemini helps you generate code and cites sources.
You can perform the following chat actions with
Gemini Code Assist in any of the
supported IDEs:
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-29 UTC."],[],[],null,["# Gemini Code Assist chat features overview\n\nThis document outlines the chat features that Gemini Code Assist\nsupports.\n\n[Learn how and when\nGemini for Google Cloud uses your data](/gemini/docs/discover/data-governance).\n\nTo help you comply with any license requirements for your code,\nGemini Code Assist provides source citations when its suggestions\ndirectly quote at length from a specific source. To learn more about how and\nwhen Gemini cites sources, see\n\n[How Gemini helps you generate code and cites sources](/gemini/docs/discover/works#how-when-gemini-cites-sources).\n\n\nYou can perform the following chat actions with\nGemini Code Assist in any of the\n[supported IDEs](/gemini/docs/codeassist/supported-languages#supported_ides):\n\n- [Use Gemini Code Assist to explain your code](/gemini/docs/codeassist/chat-gemini#chat)\n- [Create multiple chats](/gemini/docs/codeassist/chat-gemini#create_multiple_chats)\n- [Delete prompt and response pairs](/gemini/docs/codeassist/chat-gemini#delete_prompt_and_response_pairs)\n- [Configure preview pane](/gemini/docs/codeassist/chat-gemini#configure_preview_pane)\n- [Prompt Gemini Code Assist with selected code using chat](/gemini/docs/codeassist/chat-gemini#prompt_with_selected_code_using_chat)\n- [Add selected code snippets to context](/gemini/docs/codeassist/chat-gemini#add_selected_code_snippets_to_context)\n- [Add terminal output to the chat context](/gemini/docs/codeassist/chat-gemini#prompt_with_selected_terminal_output_using_chat)\n- [Specify files and folders in your workspace context](/gemini/docs/codeassist/chat-gemini#specify_files_and_folders_in_your_workspace_context)\n- [Revert to a checkpoint in chat](/gemini/docs/codeassist/chat-gemini#revert_to_a_checkpoint_in_chat)\n- [View code diffs](/gemini/docs/codeassist/chat-gemini#view_code_diffs)\n- [Create custom commands](/gemini/docs/codeassist/chat-gemini#create_custom_commands)\n- [Create rules](/gemini/docs/codeassist/chat-gemini#create_rules)\n- [Exclude files from your context with an `.aiexclude` or `.gitignore` file](/gemini/docs/codeassist/create-aiexclude-file)\n- [Use Gemini Code Assist agentic chat as a pair programmer](/gemini/docs/codeassist/use-agentic-chat-pair-programmer)\n- [Configure local codebase awareness](/gemini/docs/codeassist/configure-local-codebase-awareness)\n\nWhat's next\n-----------\n\n- [Set up Gemini Code Assist Standard or Enterprise](/gemini/docs/discover/set-up-gemini),\n if you haven't already.\n\n- To begin using Gemini Code Assist chat features in your IDE,\n see [Chat with Gemini Code Assist](/gemini/docs/codeassist/chat-gemini)."]]