Skip to content

Use AI-powered code edits, explanations, code generation, error diagnosis, and chat in Visual Studio Code with the official OpenAI API.

License

Notifications You must be signed in to change notification settings

rubberduck-ai/rubberduck-vscode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Rubberduck AI Chat

Rubberduck: ChatGPT for Visual Studio Code

Β 

AI chat in the Visual Studio Code side bar. Rubberduck can generate code, edit code, explain code, generate tests, find bugs, diagnose errors, and more. You can even add your own conversation templates.

Β 

License: MIT Twitter Discord All Contributors

Quick Install

You can install Rubberduck from the

Rubberduck requires an OpenAI API key. You can get an OpenAI API key from platform.openai.com/account/api-keys (you'll need to sign up for an account).

Features

AI Chat | Generate Code | Edit Code | Explain Code | Generate Tests | Find Bugs | Diagnose Errors | 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

Generate Code

Instruct Rubberduck to generate code for you.

Generate Code

Edit Code

Change the selected code by instructing Rubberduck to create an edit.

Edit Code

Explain Code

Ask Rubberduck to explain the selected code.

Explain Code

Generate Tests

Generate test cases for the selected code.

Generate Tests

Find Bugs

Find potential defects in your code.

Find Bugs

Diagnose Errors

Let Rubberduck identify error causes and suggest fixes to fix compiler and linter errors faster.

Diagnose Errors

Custom Conversations

You can define your own conversation templates. See the Rubberduck Template docs for more information.

Here is an example of a drunken pirate describing your code:

Describe code as a drunken pirate

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

Contributors

Lars Grammel
Lars Grammel

πŸ€” πŸ’» πŸ“– πŸ‘€ πŸ’¬ πŸ›
Iain Majer
Iain Majer

πŸ› πŸ’»
Nicolas Carlo
Nicolas Carlo

πŸ’» πŸ“– πŸ›
RatoGBM
RatoGBM

πŸ›
Lionel Okpeicha
Lionel Okpeicha

πŸ›
MercerK
MercerK

πŸ›
Lundeen.Bryan
Lundeen.Bryan

πŸ€”
DucoG
DucoG

πŸ€”
sbstn87
sbstn87

πŸ€”
Manuel
Manuel

πŸ€”
alessandro-newzoo
alessandro-newzoo

πŸ€”
Void&Null
Void&Null

πŸ€”
WittyDingo
WittyDingo

πŸ€”
Eva
Eva

πŸ€”
AlexeyLavrentev
AlexeyLavrentev

πŸ€”
linshu123
linshu123

πŸ“–
Michael Adams
Michael Adams

πŸ’» πŸ›
restlessronin
restlessronin

πŸ’»
Igor KupczyΕ„ski
Igor KupczyΕ„ski

πŸ’»

Running it locally & Contributing

Read our contributing guide to learn about our development process, how to propose bugfixes and improvements, and how to build and test your changes.

To help you get your feet wet and become familiar with our contribution process, we have a list of good first issues that contains things with a relatively limited scope. This is a great place to get started!