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.