JDoodle AI

JDoodle AI is a coding assistant built into the editor. It can see the program you have open, so you do not have to paste code into it or describe what you wrote.

Where it appears

  • Beside the editor. The AI Assistant panel, where you ask questions about the code you have open.
  • On its own page. The chat page at /chat, for questions that are not about a particular program.
  • When you create a project. The AI agent option writes a first version from a prompt, instead of starting from example code or an empty file.

What people ask it

The panel offers a few starting points and takes anything else you type:

  • Explain how this works. For code you inherited or half understand.
  • Find and fix the bug. With your actual program in view.
  • Optimise this code. When it works, but not well.
  • Add inline comments. Annotates what is already there.

General questions work too: why an error is happening, how to read input in this language, what the complexity of your loop is.

Who can use it

You need to be signed in. The panel asks you to.

Students on a teacher's account can have it switched off. When that happens the panel stays where it is and says the teacher has disabled AI, so a student can tell the difference between a setting and a fault.

What next

The chat page is the assistant without a project open, and the AI assistant covers the panel inside the editor.

This website uses cookies to ensure you get the best experience on our website.