Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Generate Code using GeminiNew to Visual Studio Code? Get it now.
Generate Code using Gemini

Generate Code using Gemini

Shishir Regmi

|
7,490 installs
| (3) | Free
Generate code using Gemini API
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Gemini Code Generator

This Visual Studio Code extension allows you to easily generate code from prompts using the Gemini AI model.

Installation

  1. Open Visual Studio Code.
  2. Go to Extensions.
  3. Search for Gemini Code Generator.
  4. Click Install.

Save Token

Alt text

  • Get a Gemini token from here.
  • Press Ctrl+Shift+P.
  • Save your Gemini token securely using the command Save Gemini Token.
  • Write your token in the input box and press Enter.

Generate Code

Alt text

  1. Open a new or existing project in Visual Studio Code.
  2. Write a prompt in the editor and select it.
  3. Press Ctrl+Shift+9 to generate code or Press Ctrl+Shift+P and select Generate Code using Gemini API to generate code.

The generated code will replace the selected prompt.

Contributing

Contributions are welcome! Please create an issue before submitting a pull request.

License

This extension is licensed under the GPL-3.0 License.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft