Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>devforgeaiNew to Visual Studio Code? Get it now.
devforgeai

devforgeai

Renith Roshan J

|
1 install
| (0) | Free
DevForgeAI is a VSCode extension project that takes natural language input and generates code as a response, powered by Google's Gemini API.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

DevForgeAI - Visual Studio Code Extension for Code Generation

DevForgeAI is a Visual Studio Code extension that generates code from natural-language comments. Select a comment describing what you want, run the DevForgeAI command, and it inserts the generated code below your selection — powered by Google's Gemini API.

Features

  • Seamless code generation: annotate your file with a comment describing the code you want, select it, and DevForgeAI generates the snippet.
  • Powered by Gemini: uses Google's gemini-3.5-flash model by default (configurable).
  • Multi-line and single-line comment support.
  • API key configuration through VS Code settings.

Building and Installing Locally (For Developers)

  1. Clone the repository:

    git clone https://github.com/karthik137/code-forge-ai.git
    
  2. Install dependencies:

    npm install
    
  3. Package the extension:

    npx vsce package
    
  4. This generates a .vsix file in the project root.

  5. In VS Code, open the Extensions view (Ctrl+Shift+X), click the "..." menu, choose "Install from VSIX...", and select the generated file.

Configuring the API Key

  1. Get a free Gemini API key from Google AI Studio.
  2. Open VS Code settings (Ctrl+,) and search for "DevForgeAI".
  3. Paste your key into DevForgeAI: Api Key.
  4. Optionally change DevForgeAI: Model (default: gemini-3.5-flash).

Getting Started

  1. Open a code file.

  2. Write a comment describing the code you want, e.g.:

    // Generate a function to calculate the sum of two numbers
    
  3. Select the comment.

  4. Trigger generation either by:

    • Command palette: Ctrl+Shift+P → "DevForgeAI"
    • Right-click → "DevForgeAI" in the context menu.
  5. The generated code is inserted right after your selection.

Feedback and Contributions

Issues and pull requests are welcome on the project's GitHub repository.

License

GPL-3.0

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