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.
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.
 
  
  
  
 
  
    
    
      
       
    
    
  
  
  Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
  Last updated 2025-10-22 UTC.
  
  
  
    
      [null,null,["Last updated 2025-10-22 UTC."],[],[]]