Giter VIP home page Giter VIP logo

vscode-chatgpt's Introduction


Ask ChatGPT

ChatGPT conversations in Visual Studio Code

Badge for version for Visual Studio Code extension gencay.vscode-chatgpt

Level up your coding experience

  • ๐Ÿป Optimized for dialogue! Have a conversation with ChatGPT with follow-ups.
  • ๐Ÿ’ฏ Get help from ChatGPT within vs-code for implementing test cases, explaining it or finding bugs.
  • ๐Ÿ“ Create projects/files with one click using built-in actions in the conversation view.
  • โšก Built-in syntax highlighting for ChatGPT suggested code.
  • ๐Ÿ–ผ๏ธ Icon is generated by dall-e-2.

Features

The extension comes with context menu commands, copy/move suggested code into editor with one-click, conversation window and customization options for OpenAI's ChatGPT prompts.

ChatGPT conversation window in vs-code

๐Ÿป Optimized for dialogue


Edit and resend a previous prompt


Copy or insert the code ChatGPT is suggesting right into your editor.


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.


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.


Find bugs in your code

Right click on a selected block of code, run ChatGPT: Find bugs command for ChatGPT to analyze and find bugs 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.


Explain your code

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

Customization settings

  • You can configure the commands to use any prompts for the selected code!
  • Opt-in to receive notification when ChatGPT sends you a message!

Setup

Follow the instructions here to get your access token: https://github.com/transitive-bullshit/chatgpt-api#session-tokens

During your first interaction with the extension, you will be asked to enter your access token.

Troubleshooting

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

It's possible that openai systems may experience issues responding to your queries due to high-traffic from time to time.

Credits

vscode-chatgpt's People

Contributors

gencay avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.