/vscode-chatgpt

An unofficial Visual Studio Code - OpenAI ChatGPT integration

Primary LanguageTypeScriptISC LicenseISC

The most loved* ChatGPT extension in VS Code open-sourced

The project is built as a hobby project - With no affiliation to any organization

The functionality fully relies on OpenAI services without any affiliation to them

*Downloaded by ~500,000 developers with more than 100 5 star ratings within 3 months of release

Try out this extension on marketplace: ChatGPT - Genie AI

The extension is stripped out of Browser capabilities and published as an integration point for community to continue utilizing GPT models in Sidebar conversations or responses in editor, favorites, personalization and more.

Forks and continuation of the original project

Feel free to contribute here.

  1. Continued by ChatGPT - Genie AI
  2. Forked by @Christopher-Hayes: ChatGPT Reborn

Features

  • ➕ Use GPT-4, GPT-3.5, GPT3 or Codex models using your OpenAI API Key
  • 📃 Get streaming answers to your prompts in sidebar conversation window
  • 🔥 Stop the responses to save your tokens.
  • 📝 Create files or fix your code with one click or with keyboard shortcuts.
  • ➡️ Export all your conversation history at once in Markdown format.
  • Automatic partial code response detection. Continues and combines automatically, when response is cut off.
  • Ad-hoc prompt prefixes for you to customize what you are asking ChatGPT
  • Edit and resend a previous prompt
  • Copy, insert or create new file from the code, ChatGPT is suggesting right into your editor.

How to build and run

  • Clone the repository to your local machine
  • On the root directory, run yarn command to install the dependencies listed in package.json
  • Within VS Code - run the project by simply hitting F5

How to install locally

  • Install vsce if you don't have it on your machine (The Visual Studio Code Extension Manager)
    • npm install --global vsce
  • Run vsce package
  • Follow the instructions and install manually.