# DevChat Visual Studio Code Extension

[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square)](http://makeapullrequest.com) [![VS Code Marketplace Version](https://img.shields.io/visual-studio-marketplace/v/merico.devchat?logo=visual-studio-code)](https://marketplace.visualstudio.com/items?itemName=merico.devchat) [![VS Code Marketplace Downloads](https://img.shields.io/visual-studio-marketplace/d/merico.devchat?logo=visual-studio-code)](https://marketplace.visualstudio.com/items?itemName=merico.devchat) [![GitHub license](https://img.shields.io/github/license/covespace/devchat-vscode.svg)](https://github.com/covespace/devchat-vscode/blob/main/LICENSE) [![Discord Chat](https://img.shields.io/discord/1106908489114206309?logo=discord)](https://discord.gg/9t3yrbBUXD) ๐Ÿ‘‰ Install [Visual Studio Code extension](https://github.com/covespace/devchat-vscode) from [Visual Studio Marketplace](https://marketplace.visualstudio.com/items?itemName=merico.devchat) and enjoy the enhanced UI ๐Ÿ‘ *** ## What is DevChat? DevChat is an open-source tool that helps you write prompts to generate code and documentation. It is _not_ limited to performing predefined operations on short code snippets. DevChat is the way developers interact and collaborate with AI. ๐Ÿ’ฌ Build the future with prompts, _not_ code. ## Why DevChat? - To enable AI to write code, DevChat assists you in providing **the right context** for AI. ![20230519-231038-00 00 00 000-00 00 20 989](https://github.com/covespace/devchat-vscode/assets/592493/cfb96c7f-bd45-4573-810e-17148aac79d1) Chat history, code, files, directory trees, `git diff --cached`, or the output of any command. - To apply AI-generated code, DevChat streamlines your **actions to take**. ![20230519-231038-00 00 24 989-00 00 44 688](https://github.com/covespace/devchat-vscode/assets/592493/2a0c4acf-6801-409c-bb18-ac75bae96938) View diffs, copy or insert, commit & sync, or export to documentation, wikis, and more. - To guide AI in your work, define **your own workflows** with DevChat. ![20230519-231038-00 00 45 034-00 01 00 000](https://github.com/covespace/devchat-vscode/assets/592493/5a72e43f-0ed9-446a-81be-3e5f00009961) More prompt templates, iterative calls to AI, and program operations. - To suit your preferences, customize **your own experiences** with DevChat. Open-source, no waiting for opaque feature schedules. Access GPT-4 today and more models in the future. ## What is Prompt-Centric Software Development (PSSD)? - The traditional code-centric paradigm is evolving. - Write prompts to create code. Transform prompts into everything. image (This image is licensed by devchat.ai under a Creative Commons Attribution-ShareAlike 4.0 International License.) - It is DevPromptOps image (This image is licensed by devchat.ai under a Creative Commons Attribution-ShareAlike 4.0 International License.) *** ## Quick Start - Install [Visual Studio Code](https://code.visualstudio.com/download). - Open the Extensions view (โ‡งโŒ˜X), search for DevChat, and install the extension:     image - Since DevChat is designed for developers, it requires a Git repository folder to store metadata. Therefore, open a Git project. - Set your [OpenAI API Key](https://platform.openai.com/account/api-keys) by running `export OPENAI_API_KEY="[sk-...]"`. - Click on the DevChat icon in the status bar. If the API key setting is not configured, it will prompt you to enter it. Simply input the key.     image - We recommend dragging the DevChat logo from the left sidebar to **the right sidebar** to avoid overlapping with the Explorer. ## Community - Join our [Discord](https://discord.gg/9t3yrbBUXD)! - Participate in [discussions](https://github.com/covespace/devchat/discussions)! ## Contributing Issues and pull request are welcome: https://github.com/covespace/devchat-vscode/issues ## Automated Publishing Process Check out our [Automated Publishing Process](./docs/publish.md) for a detailed walkthrough of how we manage the automated release of new versions for the DevChat VSCode Extension. ## Contact Information hello@merico.dev We are creators of [Apache DevLake](https://devlake.apache.org/).