chatgpt-vscode  by ai-genie

VS Code extension for AI-assisted code editing

Created 2 years ago
1,269 stars

Top 31.2% 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

1 year ago

Responsiveness

Inactive

Pull Requests (30d)
1
Issues (30d)
1
Star History
5 stars in the last 30 days

Explore Similar Projects

Starred by Boris Cherny Boris Cherny(Creator of Claude Code; MTS at Anthropic), Nat Friedman Nat Friedman(Former CEO of GitHub), and
39 more.

aider by Aider-AI

0.4%
37k
AI pair programming in your terminal
Created 2 years ago
Updated 1 week ago
Feedback? Help us improve.