Skip to content

A Visual Studio Code extension to support ChatGPT. The extension is pair-programmed with ChatGPT.

License

Notifications You must be signed in to change notification settings

analogpvt/vscode-gpt

Repository files navigation


Ask ChatGPT

ChatGPT conversations in Visual Studio Code


Features

Setup

Login following the instructions here to get your access token: https://github.com/transitive-bullshit/chatgpt-api#how-it-works

Features

The extension comes with context menu commands, conversation window and customization options for OpenAI's ChatGPT prompts.

ChatGPT conversation window in vs-code

Ask free-form text questions that will be listed in the conversation window. The conversation is kept in cache until vs-code instance is closed.

Conversations


Add tests for your code

Right click on a selected block of code, run ChatGPT: Add Tests command for ChatGPT to write tests for you.

Add tests

Find problems in your code

Right click on a selected block of code, run ChatGPT: Find problems command for ChatGPT to analyze and find problems in your code.

Find problems in your code

Improve & optimize your code

Right click on a selected block of code, run ChatGPT: Optimize command for ChatGPT to add suggestions to your code to improve.

Optimize your code

Explain your code

Right click on a selected block of code, run ChatGPT: Explain command for ChatGPT to explain the selected code.

Explain your code

Settings

  • You can configure the commands to use any prompts for the selected code.

Configurations

Troubleshooting

If the bot isn't responding, try clearing your cache by running the ChatGPT: Clear session command.

Contributions

About

A Visual Studio Code extension to support ChatGPT. The extension is pair-programmed with ChatGPT.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 47.7%
  • TypeScript 41.5%
  • CSS 10.8%