Skip to content

jcraane/gpt-mentor-plugin

Repository files navigation

gpt-mentor-plugin

Build Version Downloads

GPT-Mentor which is powered by Open AI is a plugin that helps you to improve your code. It can explain your code, improve your code, review your code, create unit tests and add comments to your code.

It also enables you to create custom chats.

The default shortcuts for the standard actions are:

  • Explain Code: Ctrl + Alt + Shift + E
  • Improve Code: Ctrl + Alt + Shift + I
  • Review Code: Ctrl + Alt + Shift + R
  • Create Unit Test: Ctrl + Alt + Shift + T
  • Add Comments: Ctrl + Alt + Shift + C

Each action uses a custom system prompt to instruct ChatGPT how to behave. Those prompts can be adjusted in the settings of the plugin if required.

The history view displays the chat history. You can also remove messages from the history.

  • Double-click on a chat in the history view to open the chat in the editor.
  • Select one or multiple elements and use the backspace or context menu to delete items from the history
  • Rename history items with the context menu or Shift+F6

Right-click on a file in the tree view to add the contents of the file to the chat window.

Select Commits in the VCS log and use right-click -> Add Commits To Prompt to send the commit messages to the chat window.

To start using it create an account and API key at: https://platform.openai.com/account/api-keys

After you have created an API key you can add it in the settings of the plugin.

To see the uptime of the OpenAI API visit: https://status.openai.com/uptime


Plugin based on the IntelliJ Platform Plugin Template.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages