Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rubberduck-ai/rubberduck-vscode
Use AI-powered code edits, explanations, code generation, error diagnosis, and chat in Visual Studio Code with the official OpenAI API.
https://github.com/rubberduck-ai/rubberduck-vscode
ai chatbot chatgpt gpt3 openai visual-studio-code vscode vscode-extension
Last synced: 2 months ago
JSON representation
Use AI-powered code edits, explanations, code generation, error diagnosis, and chat in Visual Studio Code with the official OpenAI API.
- Host: GitHub
- URL: https://github.com/rubberduck-ai/rubberduck-vscode
- Owner: rubberduck-ai
- License: mit
- Created: 2023-01-26T09:37:35.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-03-08T20:19:57.000Z (10 months ago)
- Last Synced: 2024-05-01T12:57:03.968Z (9 months ago)
- Topics: ai, chatbot, chatgpt, gpt3, openai, visual-studio-code, vscode, vscode-extension
- Language: TypeScript
- Homepage: https://marketplace.visualstudio.com/items?itemName=Rubberduck.rubberduck-vscode
- Size: 11.3 MB
- Stars: 566
- Watchers: 8
- Forks: 67
- Open Issues: 38
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
- awesome-ChatGPT-repositories - rubberduck-vscode - Use AI-powered code edits, explanations, code generation, error diagnosis, and chat in Visual Studio Code with the official OpenAI API. (Chatbots)
- awesome-ai-devtools - Rubberduck
- awesome-chatgpt - rubberduck-ai/rubberduck-vscode - Rubberduck is a browser extension that brings AI-powered code editing, explanations, code generation, error diagnosis, and chat functionalities to Visual Studio Code. (UIs / Browser extensions)
- awesome-ai-dev-tools - Rubberduck - Open source chat assistant for VS Code. (Extensions and Plugins / IDE Extensions)
README
![Rubberduck AI Chat](https://raw.githubusercontent.com/rubberduck-ai/rubberduck-vscode/main/asset/rubberduck-header-2.gif)
# Rubberduck: ChatGPT for Visual Studio Code
>
>
> #### AI chat in the Visual Studio Code side bar. Rubberduck can [generate code](#generate-code), [edit code](#edit-code), [explain code](#explain-code), [generate tests](#generate-tests), [find bugs](#find-bugs), [diagnose errors](#diagnose-errors), and more. You can even add [your own conversation templates](#custom-conversations).
>
>[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
[![Twitter](https://img.shields.io/twitter/url/https/twitter.com/rubberduckai.svg?style=social&label=%20%40rubberduckai)](https://twitter.com/rubberduckai)
[![Discord](https://discordapp.com/api/guilds/1061938502327091271/widget.png?style=shield)](https://discord.gg/8KN2HmyZmn)
[![All Contributors](https://img.shields.io/badge/all_contributors-19-orange.svg?style=flat-square)](#contributors)
## Quick Install
You can install Rubberduck from the
- [Visual Studio Code Marketplace](https://marketplace.visualstudio.com/items?itemName=Rubberduck.rubberduck-vscode)
- [Open VSX Registry](https://open-vsx.org/extension/Rubberduck/rubberduck-vscode)Rubberduck requires an OpenAI API key. You can get an OpenAI API key from [platform.openai.com/account/api-keys](https://platform.openai.com/account/api-keys) (you'll need to sign up for an account).
## Features
[AI Chat](#ai-chat) | [Generate Code](#generate-code) | [Edit Code](#edit-code) | [Explain Code](#explain-code) | [Generate Tests](#generate-tests) | [Find Bugs](#find-bugs) | [Diagnose Errors](#diagnose-errors) | [Custom Conversations](#custom-conversations)
### AI Chat
Chat with Rubberduck about your code and software development topics. Rubberduck knows the editor selection at the time of conversation start.
![Chat](https://raw.githubusercontent.com/rubberduck-ai/rubberduck-vscode/main/app/vscode/asset/media/screenshot-start-chat.png)
# Generate Code
Instruct Rubberduck to generate code for you.
![Generate Code](https://raw.githubusercontent.com/rubberduck-ai/rubberduck-vscode/main/app/vscode/asset/media/screenshot-generate-code.gif)
## Edit Code
Change the selected code by instructing Rubberduck to create an edit.
![Edit Code](https://raw.githubusercontent.com/rubberduck-ai/rubberduck-vscode/main/app/vscode/asset/media/screenshot-edit-code.gif)
### Explain Code
Ask Rubberduck to explain the selected code.
![Explain Code](https://raw.githubusercontent.com/rubberduck-ai/rubberduck-vscode/main/app/vscode/asset/media/screenshot-code-explanation.png)
### Generate Tests
Generate test cases for the selected code.
![Generate Tests](https://raw.githubusercontent.com/rubberduck-ai/rubberduck-vscode/main/app/vscode/asset/media/screenshot-generate-test.gif)
## Find Bugs
Find potential defects in your code.
![Find Bugs](https://raw.githubusercontent.com/rubberduck-ai/rubberduck-vscode/main/app/vscode/asset/media/screenshot-find-bugs.png)
### Diagnose Errors
Let Rubberduck identify error causes and suggest fixes to fix compiler and linter errors faster.
![Diagnose Errors](https://raw.githubusercontent.com/rubberduck-ai/rubberduck-vscode/main/app/vscode/asset/media/screenshot-diagnose-errors.gif)
### Custom Conversations
You can define your own conversation templates. See the [Rubberduck Template docs](https://github.com/rubberduck-ai/rubberduck-vscode/blob/main/doc/rubberduck-templates.md) for more information.
Here is an example of a [drunken pirate describing your code](https://github.com/rubberduck-ai/rubberduck-vscode/blob/main/template/fun/drunken-pirate.rdt.md):
![Describe code as a drunken pirate](https://raw.githubusercontent.com/rubberduck-ai/rubberduck-vscode/main/app/vscode/asset/media/drunken-pirate.gif)
## Configuration Options
- **rubberduck.syntaxHighlighting.useVisualStudioCodeColors**: Use the Visual Studio Code Theme colors for syntax highlighting in the diff viewer. Might not work with all themes. Default is `false`.
## Built With
- [ModelFusion](https://modelfusion/dev) - AI library
- [Prism.js](https://prismjs.com/) - Syntax highlighting
- [React](https://reactjs.org/) - UI rendering## Contributors
Lars Grammel
🤔 💻 📖 👀 💬 🐛
Iain Majer
🐛 💻
Nicolas Carlo
💻 📖 🐛
RatoGBM
🐛
Lionel Okpeicha
🐛
MercerK
🐛
Lundeen.Bryan
🤔
DucoG
🤔
sbstn87
🤔
Manuel
🤔
alessandro-newzoo
🤔
Void&Null
🤔
WittyDingo
🤔
Eva
🤔
AlexeyLavrentev
🤔
linshu123
📖
Michael Adams
💻 🐛
restlessronin
💻
Igor Kupczyński
💻
## Running it locally & Contributing
### [Contributing Guide][contributing]
Read our [contributing guide][contributing] to learn about our development process, how to propose bugfixes and improvements, and how to build and test your changes.
### [Good First Issues][good-first-issues]
To help you get your feet wet and become familiar with our contribution process, we have a list of [good first issues][good-first-issues] that contains things with a relatively limited scope. This is a great place to get started!
[contributing]: https://github.com/rubberduck-ai/rubberduck-vscode/blob/main/CONTRIBUTING.md
[good-first-issues]: https://github.com/rubberduck-ai/rubberduck-vscode/labels/good%20first%20issue