Coder Social home page Coder Social logo

chatgpt-intellij-plugin's Introduction

Corey's ChatBot Intellij Plugin

Overview

The ChatBot plugin uses ChatGPT underneath the hood to assist you in all (okay, some) of your coding needs. You can interact with the ChatBot and ask it any questions you would like, even those not coding related. Additionally, you can fire intellij actions to Ask Chatbot about this code which will explain your highlighted block of code or Ask Chatbot to refactor this code which will offer up a refactor suggestion for your highlighted block of code.

Installation

  1. Download the plugin's zip file coreys-chatgpt-intellij-plugin-0.0.1.zip in the repository
  2. Go to your plugins planel in the settings modal

plugin panel 3. Click on the Gear Icon in the right most tab and select "Install Plugin from Disk..."

install from disk

  1. From there you can upload the downloaded zip file
  2. Confirm that you see the ChatBot Icon in the right panel and you are good to go!

panel icon

Setup

Now that the plugin is installed you need you add your ChatGPT api key

  • Navigate to the settings page at Tools -> ChatBot: ChatGpt Settings and paste in your api key from OpenAI
  • OPTIONAL: If you have a preferred model you would like to use, you can include it here. Otherwise ChatBot will use gpt-3.5-turbo by default

settings

Features

General Questions: Clicking on the ChatBot icon on the right side toolbar will open the ChatBot panel where you can have open dialog with the chatbot using the text field

open dialog

Ask ChatBot To Explain: You can highlight a block of code and open the actions window and type "Ask ChatBot To Explain". ChatBot will take the highlighted code and give its best explanation

explain action

Ask ChatBot To Refactor: You can highlight a block of code and open the actions window and type "Ask ChatBot To Refactor". ChatBot will take the highlighted code and respond with a refactored solution. You can use the "Replace Selection" button to replace your highlighted code with the refactored suggestion

refactor action


Plugin based on the IntelliJ Platform Plugin Template.

chatgpt-intellij-plugin's People

Contributors

cspeisman avatar actions-user 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.