Code customization overview (original) (raw)

Code customization overview

Stay organized with collections Save and categorize content based on your preferences.

Code customization, a feature inGemini Code Assist Enterprise, lets you get code suggestions from Gemini Code Assist Enterprise that are based on your organization's private repositories, and thus aligned to your organization's coding style.

Code customization gives Gemini Code Assist Enterprise access to code in your private repositories by analyzing and storing it in a private index, as the following diagram shows:

Code customization connects Gemini Code Assist to your code repository, which lets Gemini Code Assist offer coding suggestions in your IDE.

As you code, Gemini Code Assist searches your private index for code that is similar to what you're trying to write. It then includes relevant matches in the code prompt and sends these matches to the Gemini Code Assist recommendations service. Code customization keeps recommendations fresh by reindexing your codebase every 24 hours to ensure that code suggestions remain up to date. Gemini Code Assist returns the generated code to you.

Unlike the full codebase awareness feature, which is limited to searching files in the current folder and open tabs in your IDE, code customization searches all repositories in your index. After code customization is set up, it works as part of the code completion and code generation features.

Both Gemini Code Assist and code customization are managed services. You license usage by seats per month.

Securing access and storage of private code

Google provides security of your stored private code in several ways:

For further details on Google's security measures, see theGoogle security overview.

Here's how you can control access to your data:

To configure code customization in your IDE, seeConfigure Gemini Code Assist code customization.

Limitations

What's next

  1. Configure Gemini Code Assist code customization.
  2. Once you've configured code customization in your IDE, seeUse code customization.