chatgpt-vscode  by ai-genie

VS Code extension for AI-assisted code editing

created 2 years ago
1,265 stars

Top 31.9% on sourcepulse

GitHubView on GitHub
Project Summary

This VS Code extension integrates OpenAI's GPT models (including GPT-4o, GPT-4 Turbo, and GPT-3.5 Turbo) to enhance developer productivity. It offers features like code explanation, bug fixing suggestions, commit message generation, and conversation history storage, targeting developers who use VS Code and want AI assistance within their workflow.

How It Works

The extension leverages the OpenAI API, allowing users to input their own API keys or Azure OpenAI Service deployments. It provides context-aware AI assistance by analyzing selected code snippets or Git changes. Key features include streaming responses directly in the editor or sidebar, one-click code fixes, and the ability to generate commit messages based on staged changes.

Quick Start & Requirements

  • Install via VS Code Extensions Marketplace.
  • Requires an OpenAI API key or Azure OpenAI Service deployment.
  • Supports various OpenAI models including gpt-4o, gpt-4-turbo, and gpt-3.5-turbo.
  • Official documentation and FAQ available.

Highlighted Details

  • Supports latest models like GPT-4o and 2024 models.
  • Integrates with VS Code's Problems window for error explanations.
  • Offers customizable prompts for various coding tasks (e.g., adding tests, finding bugs, optimizing code).
  • Allows saving and resuming conversation history locally.

Maintenance & Community

The project is actively maintained, with recent updates including support for new models and improved functionality for commit message generation. Links to community discussions or support channels are not explicitly provided in the README.

Licensing & Compatibility

The extension is provided free of charge. Usage of OpenAI services is subject to OpenAI's terms and privacy policy.

Limitations & Caveats

Some newer models like o1-mini and o1-preview have usage tier limitations. The conversation history feature is experimental and may contain bugs, requiring manual cleanup of stored files for privacy. The extension's functionality is dependent on the availability and terms of the OpenAI API.

Health Check
Last commit

10 months ago

Responsiveness

1 week

Pull Requests (30d)
0
Issues (30d)
1
Star History
15 stars in the last 90 days

Explore Similar Projects

Feedback? Help us improve.