vscode-chatgpt  by gencay

VS Code extension for OpenAI ChatGPT integration

created 2 years ago
3,490 stars

Top 14.1% on sourcepulse

GitHubView on GitHub
1 Expert Loves This Project
Project Summary

This extension provides an unofficial integration between Visual Studio Code and OpenAI's ChatGPT, enabling developers to leverage GPT models directly within their IDE for code generation, debugging, and conversational assistance. It targets VS Code users seeking enhanced productivity through AI-powered coding support.

How It Works

The extension utilizes the OpenAI API, allowing users to select from various GPT models (GPT-4, GPT-3.5, GPT-3, Codex) via their API key. It streams responses directly into a sidebar conversation window and supports features like stopping responses to conserve tokens, creating/fixing code with shortcuts, exporting conversations, and automatic continuation of partial code responses.

Quick Start & Requirements

  • Install by cloning the repository, running yarn in the root directory, and pressing F5 within VS Code.
  • Requires an OpenAI API key.
  • For local installation, vsce is needed (npm install --global vsce), followed by vsce package and manual installation.

Highlighted Details

  • Supports GPT-4, GPT-3.5, GPT-3, and Codex models.
  • Streaming answers and response stopping for token management.
  • One-click code creation/fixing and export of conversation history.
  • Automatic detection and continuation of partial code responses.

Maintenance & Community

This project is a hobby project, open-sourced for community continuation. It has been forked by other projects like "ChatGPT Reborn" and "ChatGPT - Genie AI".

Licensing & Compatibility

Released under the ISC License. This license is permissive and generally compatible with commercial use and closed-source linking, requiring only that copyright and permission notices appear in all copies.

Limitations & Caveats

The extension is an unofficial integration and relies entirely on OpenAI services. It has been stripped of browser capabilities and is presented as a community continuation point.

Health Check
Last commit

2 years ago

Responsiveness

Inactive

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

Explore Similar Projects

Feedback? Help us improve.