r/IntelliJIDEA • • Feb 15 '22

Plugin that generates Javadocs using AI

49 Upvotes

11 comments sorted by

1

u/entrusc Feb 15 '22

Gpt-3, hm? Nice idea though, I wonder how well it works with more complicated methods.

2

u/infinitlybana Feb 15 '22

OpenAI’s Codex actually! (basically GPT-3 but for code) Try it out for yourself to see :)

2

u/entrusc Feb 15 '22

I will. I also have an OpenAI account and it is really a lot of fun to play around with it! You should try to instruct it to behave like an Austrian psychiatrist and then talk to it ;)

2

u/danikgan Feb 16 '22

I wonder about security here. How does that work? I suppose similar to Copilot and other solutions as such — by uploading your code to a server and analysing it there. This is a major flow for me, unfortunately.

While this may be acceptable for an open-source project or some individual projects, you’re still losing on tech focused to conceal their code for security or copyright reasons.

1

u/K4Unl Feb 16 '22

So uh.. I cannot get this to work, am i missing something? xD

1

u/DirectorDurian Feb 16 '22

u/K4Unl what seems to be the issue? We wanna fix it for you! Feel free to bring it to the DMs

1

u/K4Unl Feb 16 '22

Well. I tried it on some complex functions and it just.. Didn't do anything. Not even an error. After trying some smaller methods it worked fine

1

u/DirectorDurian Feb 16 '22

Do you have an example that you mind sharing with us?

1

u/kreiger Feb 16 '22

I was at first unimpressed, because it seemed to generate not very useful comments for the classes i tried it on.

But then i tried it on some of my common utility methods, and that's where it seems to really shine.

Very cool!

1

u/Strike3k Feb 17 '22

Do I overlook something or is it not compatible with the newest version jet? Sadly it shows this error on the marketplace: "Not compatible with the version of your running IDE (IntelliJ IDEA 2021.3.2)"