This document describes how to use Gemini Code Assist code customization and provides a few best practices. This feature lets you receive code recommendations, which draw from the internal libraries, private APIs, and the coding style of your organization.
Before you begin
How to use code customization
The following table lists ways to use Gemini Code Assist code customization:
| Form | How to trigger | Notes and resources |
|---|---|---|
Natural language chat |
Enter a natural language prompt in Gemini Code Assist chat in the IDE. |
Consider the following:
For more information, see Chat with Gemini Code Assist. |
| Generate code | In the quick pick bar in your IDE, either with or without selected code, press Command+Enter (on macOS) or Control+Enter. | For more information, see Generate code with prompts. |
| Transform code | In the quick pick bar in your IDE, either with or without
selected code, enter /fix. |
For more information, see Generate code with prompts. |