AssistAI - A ChatGPT Plugin for Eclipse IDE

Add this URL to your Eclipse Installation to reach this solution's update site.

2023-09 (4.29), 2023-06 (4.28), 2023-03 (4.27), 2022-12 (4.26), 2022-09 (4.25), 2022-06 (4.24), 2022-03 (4.23), 2021-12 (4.22), 2021-09 (4.21), 2021-06 (4.20), 2021-03 (4.19), 2020-12 (4.18), 2020-09 (4.17), 2020-06 (4.16), 2020-03 (4.15), 2023-12 (4.30), 2024-03 (4.31)

https://eclipse-chatgpt-plugin.lm.r.appspot.com/

Learn more...
Solution Description

AssistAI is an Eclipse IDE plugin that brings ChatGPT functionality into your development environment. This experimental plugin has been primarily tested with Eclipse 2023/X.

Features

  1. Refactor selected code snippets by asking ChatGPT
  2. Generate JavaDoc comments for chosen classes or methods with ChatGPT's help
  3. Create JUnit tests for selected classes or methods using ChatGPT's assistance
  4. Engage in a conversation with ChatGPT about the content of the currently opened file
  5. Fix compilation errors with ChatGPT's guidance
  6. Copy code blocks generated by ChatGPT to the clipboard
  7. Produce Git commit comments based on changes in staged files
  8. You can also pose general questions to ChatGPT, just like with the regular ChatGPT interface.
  9. Customize prompts
  10. Using the OpenAI function call feature AssistAI can use JavaDoc or related source code to better understand the context.

Note: This plugin requires OpenAI API key to work.

For more info check out the plugin webpage: https://github.com/gradusnikov/eclipse-chatgpt-plugin

Additional Details

Eclipse Versions: 2023-09 (4.29), 2023-06 (4.28), 2023-03 (4.27), 2022-12 (4.26), 2022-09 (4.25), 2022-06 (4.24), 2022-03 (4.23), 2021-12 (4.22), 2021-09 (4.21), 2021-06 (4.20), 2021-03 (4.19), 2020-12 (4.18), 2020-09 (4.17), 2020-06 (4.16), 2020-03 (4.15), 2023-12 (4.30), 2024-03 (4.31)

Platform Support: Windows

Development Status: Alpha

Date Created: Wednesday, May 17, 2023 - 07:16

License: MIT

Date Updated: Friday, October 6, 2023 - 10:52

Submitted by: Wojciech Gradkowski

Screenshot
Date Ranking Installs Clickthroughs
April 2024 127/684 242 30
March 2024 112/694 337 29
February 2024 107/687 304 29
January 2024 120/691 295 43
December 2023 115/671 288 39
November 2023 186/686 149 42
October 2023 499/673 9 43
September 2023 164/663 185 30
August 2023 86/673 471 27
July 2023 99/668 401 22
June 2023 93/669 484 26
May 2023 142/671 273 32
View Data for all Listings

Marketplace Drag to Install Button

By adding the following code below to your website you will be able to add an install button for AssistAI - A ChatGPT Plugin for Eclipse IDE.

HTML Code:

Markdown Syntax:

Output:

Drag to your running Eclipse* workspace. *Requires Eclipse Marketplace Client

Reviews Add new review

Tried all the options from the file menu (Assist AI) but the ChatGPT view never got opened automatically if it is not opened before. Thereafter, tried to chat with the agent but no response has been returned, whereas the API key works perfectly (tried using CURL).

Hi,

After selecting a piece of code, I selected the -Discuss option, as well as the other options, and gave the prompt, but no response.

Could you please help me with this issue?


I would like to attach a screenshot but I don't see the option.

Thanks,

Marius

An error occurred while collecting items to be installed

session context was:(profile=_Users_amit_eclipse_osgifx_Eclipse.app_Contents_Eclipse, phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=).

Artifact not found: https://eclipse-chatgpt-plugin.lm.r.appspot.com/plugins/com.github.gradusnikov.eclipse.plugin.assistai.dependencies_1.0.0.jar.

https://eclipse-chatgpt-plugin.lm.r.appspot.com/plugins/com.github.gradusnikov.eclipse.plugin.assistai.dependencies_1.0.0.jar

Hello sir,
I am getting ('Installing Software' has encountered a problem. An Error occurred while collecting items to be Installed) while installing the plugins. i have tried all possible ways to install such as Market place, drag the Installer button from the documentation. but noting working for me. i was wander if you could help out of this. Thank You

<p>Getting the following error when trying to install from market place. Note I changed https to xxxx because this editor doesn&#39;t allow urls.</p>

<p>An error occurred while collecting items to be installed<br />
session context was:(profile=C__Users_billy_eclipse_jee-2023-09_eclipse, phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=).<br />
Artifact not found: xxxx://eclipse-chatgpt-plugin.lm.r.appspot.com/plugins/com.github.gradusnikov.eclipse.plugin.assistai.dependencies_1.0.0.jar.<br />
xxxx://eclipse-chatgpt-plugin.lm.r.appspot.com/plugins/com.github.gradusnikov.eclipse.plugin.assistai.dependencies_1.0.0.jar</p>

I installed the plugin, and and accepted the license, it all looks fine, I see it listed as installed software... but there is no menu item for it to be configured with, nor is there any window to add to my display... literally, it is like I never installed it.  Have restarted the IDE and uninstalled/reinstalled, no luck.  Any help greatly appreciated, thanks.

Spring Tool Suite v4.19.1  (Eclipse 4.28)

The following error occurs when trying to use any of the assistai tools on a file or segment of code:

Unable to run the task: java.lang.RuntimeException: java.io.IOException: Request failed with status code: 404 and response body: jdk.internal.net.http.ResponseSubscribers$HttpResponseInputStream@3c3865b4
java.lang.RuntimeException: java.io.IOException: Request failed with status code: 404 and response body: jdk.internal.net.http.ResponseSubscribers$HttpResponseInputStream@3c3865b4

Hi,

I installed the plug-in in my Eclipse IDE (2022-09 version). However, upon installation (including IDE restart), nothing happened. My IDE tells me it is installed, but I have no idea how to activate and use it. Where or what do I click to make it "start"? Like there is no AI window or anything showing different in my Eclipse that is popping up for me to use. Please help! (I read the description of it being tested with 2022-03, but still.)

In reply to by Aarya Deshpande

After installing the plugin, configure access to the OpenAI API:

Open Window > Preferences > Assist AI preferences

Input your OpenAI API key (you can find your keys at https://platform.openai.com/account/api-keys)

Input the model name. By default, the plugin uses the gpt-4 model, but you can also utilize gpt-3.5-turbo or any available ChatGPT model. To check which models are available to you, go to https://platform.openai.com/playground?mode=chat and check the Model drop list.

Hello Sir,

I have just installed AssistAI - A ChatGPT Plugin for Eclipse IDE in my Eclipse version 2023/06 and trying to play around with that 

on my code, I tried to access the plugin and got the following error 

Unable to run the task: java.lang.RuntimeException: java.io.IOException: Request failed with status code: 429 and response body: jdk.internal.net.http.ResponseSubscribers$HttpResponseInputStream@6a7d1fed

java.lang.RuntimeException: java.io.IOException: Request failed with status code: 429 and response body: jdk.internal.net.http.ResponseSubscribers$HttpResponseInputStream@6a7d1fed

Hello,

I can't install the plugin in my Eclipse 2021-12. The following error pops up, which prevents me from proceeding to configure the plugin:

An error occurred while collecting items to be installed
session context was:(profile=epp.package.jee, phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=).
Result of processing steps.
OK
OK
OK
Public key not found for 810cecf8ba271008.
OK
Result of processing steps.
OK
OK
OK
Public key not found for 810cecf8ba271008.
OK

 

Thanks,

Hello Sir,

I have just installed AssistAI - A ChatGPT Plugin for Eclipse IDE in my Eclipse version 2023/03 and trying to play around with that 

on my code, I tried to access the plugin and got the following error 

Unable to run the task: java.lang.RuntimeException: java.io.IOException: Request failed with status code: 404 and response body: jdk.internal.net.http.ResponseSubscribers$HttpResponseInputStream@529ac2b7

java.lang.RuntimeException: java.io.IOException: Request failed with status code: 404 and response body: jdk.internal.net.http.ResponseSubscribers$HttpResponseInputStream@529ac2b7

I feel like this is related to Chat GPT API key error. Can you assist me with where do I need to enter the API key on my already installed plugin?

Hoping for a prompt response ,

Thanks,

Aamir