Configure local codebase awareness
Stay organized with collections
Save and categorize content based on your preferences.
Local codebase awareness improves the relevance of
Gemini Code Assist responses through indexing and supporting
techniques. Gemini Code Assist uses the current open file as
context. An agent is able to use tools to find and
read the files it needs. You can also
specify files and folders in your workspace context.
By default, local codebase awareness is enabled. To disable local codebase
awareness, perform the following tasks:
VS Code
In your IDE, navigate to Settings>Extensions>Gemini Code Assist.
Search for the Local Codebase Awareness setting.
Unselect the checkbox to disable local codebase awareness.
Reload your IDE.
IntelliJ
Local codebase awareness configuration settings aren't supported in
Gemini Code Assist for IntelliJ and other JetBrains 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 2026-03-04 UTC."],[],[]]