Archi Forum

Archi Plug-ins => jArchi => Topic started by: Thomas Rohde on March 18, 2023, 13:58:51 PM

Title: Using ChatGPT to bootstrap developing Eclipse SWT scripts
Post by: Thomas Rohde on March 18, 2023, 13:58:51 PM
If you are like me and only occasionally program Eclipse UIs, in JArchi and in general, then using ChatGPT is a real productivity boost.

ChatGPT doesn't know much about Archi and JArchi, so I primed ChatGPT using these snippets (excerpts from the conversation).

> I am developing a Java Eclipse application that uses GraalVM to enable JavaScript extensibility to the Java application

> I have an Eclipse Table widget, with two columns. The first column, Property, shows the name of a property. The second column, Value, shows the value of the property. Please write a short snippet for extending the widget with with a right-click menu that shows when the user right-clicks in a value cell.

> Convert this to GraalVM JavaScript

This was also helpful:

> Use the Java.type() function to use the Eclipse Java classes
Title: Re: Using ChatGPT to bootstrap developing Eclipse SWT scripts
Post by: Phil Beauvoir on March 18, 2023, 16:55:04 PM
Interesting. I haven't tried ChatGPT yet. Can it code Archi 6 for me?  ;D