Skip to content

A JetBrains extension that allows you to use ChatGPT inside your favourite IDE

License

Notifications You must be signed in to change notification settings

cherijs/CodeGPT

 
 

Repository files navigation


plugin-icon

CodeGPT

A JetBrains extension that allows you to use ChatGPT inside your favourite IDE

Contributions welcome Downloads Rating Version

Table of Contents
  1. About The Project
  2. Getting Started
  3. Features
  4. Roadmap
  5. Contributing
  6. License

About The Project

This is an extension for JetBrains IDEs that integrates ChatGPT into your coding environment. By leveraging the power of GPT-3, this makes it an invaluable tool for developers looking to streamline their workflow and gain a deeper understanding of the code they're working on.

Getting Started

To get started, follow these simple steps:

Prerequisites

In order to use the extension, you need to have a JetBrains IDE installed and the API key configured. You can find the API key in your User settings.

Installation

The plugin is available from JetBrains Marketplace. You can install it directly from your IDE via the File | Settings/Preferences | Plugins screen. On the Marketplace tab simply search for codegpt and select the CodeGPT suggestion:

marketplace

API Key Configuration

After the plugin has been successfully installed, the API key needs to be configured.

You can configure the key by going to the plugin's settings via the File | Settings/Preferences | Tools | CodeGPT. On the settings panel simply click on the API key field, paste the key obtained from the OpenAI website and click Apply/OK:

plugin-settings

Features

The plugin provides several key features, such as:

Ask ChatGPT

Ask anything you'd like.

animated

Conversation History

View conversation history and restore previous sessions, making it easy to pick up where you left off.

Custom Prompt

Create a custom prompt for your selected code. The previous prompt will be remembered for subsequent questions.

Stop/Regenerate Response

Stop the response generation or re-generate a new response from the existing query.

Roadmap

  • Add proxy support
  • Add conversation history
    • Ability to start/restore sessions
    • Ability to export conversations in Markdown/JSON format
  • Add codex and user's fine-tuned models
  • Add support for overriding prompts and request params
  • Add support for custom fonts, colors and sizes
  • Add support for model fine-tuning

See the open issues for a full list of proposed features (and known issues).

Contributing

Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.

If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement".

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

License

MIT © Carl-Robert Linnupuu

If you found this project interesting, kindly rate it on the marketplace and don't forget to give it a star. Thanks again!

(back to top)

About

A JetBrains extension that allows you to use ChatGPT inside your favourite IDE

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 99.1%
  • Kotlin 0.9%